/*
  Warnings:

  - You are about to drop the `ntificationSettings` table. If the table is not empty, all the data it contains will be lost.

*/
-- DropTable
DROP TABLE `ntificationSettings`;

-- CreateTable
CREATE TABLE `notificationSettings` (
    `id` INTEGER NOT NULL AUTO_INCREMENT,
    `shop_id` VARCHAR(191) NOT NULL,
    `is_enable` VARCHAR(191) NULL,
    `template` VARCHAR(191) NULL,
    `type` VARCHAR(191) NULL,
    `createdAt` DATETIME(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
    `updatedAt` DATETIME(3) NOT NULL,

    UNIQUE INDEX `notificationSettings_shop_id_key`(`shop_id`),
    UNIQUE INDEX `notificationSettings_is_enable_key`(`is_enable`),
    UNIQUE INDEX `notificationSettings_type_key`(`type`),
    UNIQUE INDEX `notificationSettings_shop_id_type_key`(`shop_id`, `type`),
    PRIMARY KEY (`id`)
) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
