new table for settings and store blocked date there;

non admins can't enter avs before the blocked date
new table for survey
This commit is contained in:
Dobromir Popov
2024-06-16 23:33:49 +03:00
parent 901d577b9c
commit 8ca2000ee4
12 changed files with 205 additions and 50 deletions

View File

@ -0,0 +1,10 @@
/*
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`);