CREATE TABLE `complex_house_decoration` (
  `id` int NOT NULL,
  `house_id` int NOT NULL,
  `decoration_id` int NOT NULL,
  `desc` varchar(500) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL,
  `photo` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci,
  `photo2` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci COMMENT 'Фото 2',
  `photo3` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci COMMENT 'Фото 3',
  `photo4` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci COMMENT 'Фото 4',
  `photo5` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci COMMENT 'Фото 5'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

ALTER TABLE `complex_house_decoration`
  ADD PRIMARY KEY (`id`),
  ADD KEY `house_id` (`house_id`);

ALTER TABLE `complex_house_decoration`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;