-- CreateTable
CREATE TABLE `ListingFeature` (
    `id` VARCHAR(191) NOT NULL,
    `featureKey` VARCHAR(191) NOT NULL,
    `nameAr` VARCHAR(191) NOT NULL,
    `nameEn` VARCHAR(191) NOT NULL,
    `iconKey` VARCHAR(191) NOT NULL DEFAULT 'check',
    `sortOrder` INTEGER NOT NULL DEFAULT 0,
    `forProperty` BOOLEAN NOT NULL DEFAULT true,
    `forLand` BOOLEAN NOT NULL DEFAULT true,
    `forProject` BOOLEAN NOT NULL DEFAULT false,
    `createdAt` DATETIME(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
    `updatedAt` DATETIME(3) NOT NULL,

    UNIQUE INDEX `ListingFeature_featureKey_key`(`featureKey`),
    INDEX `ListingFeature_sortOrder_idx`(`sortOrder`),
    PRIMARY KEY (`id`)
) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

-- AlterTable
ALTER TABLE `Project` ADD COLUMN `utilities` JSON NULL;
