CREATE TABLE `entity_b` (`id` BIGINT NOT NULL,`some_field` TEXT NOT NULL,`entity_a_id` BIGINT NOT NULL,`some_array` TEXT NOT NULL,CONSTRAINT `entity_b_id_pk` PRIMARY KEY (`id`),CONSTRAINT `entity_b_uc` UNIQUE (entity_a_id)); ;