Files
mwitnessing/prisma/migrations/20240614213436_modify_settings_table/migration.sql
Dobromir Popov 8ca2000ee4 new table for settings and store blocked date there;
non admins can't enter avs before the blocked date
new table for survey
2024-06-16 23:33:49 +03:00

10 lines
358 B
SQL

/*
Warnings:
- The primary key for the `settings` table will be changed. If it partially fails, the table could be left without primary key constraint.
- You are about to drop the column `id` on the `settings` table. All the data in the column will be lost.
*/
-- AlterTable
ALTER TABLE `Settings`
DROP PRIMARY KEY,
DROP COLUMN `id`,
ADD PRIMARY KEY (`key`);