first commit
This commit is contained in:
17
prisma/migrations/20251201053031_init/migration.sql
Normal file
17
prisma/migrations/20251201053031_init/migration.sql
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- You are about to drop the column `email` on the `Staff` table. All the data in the column will be lost.
|
||||
- A unique constraint covering the columns `[username]` on the table `Staff` will be added. If there are existing duplicate values, this will fail.
|
||||
- Added the required column `password` to the `Staff` table without a default value. This is not possible if the table is not empty.
|
||||
|
||||
*/
|
||||
-- DropIndex
|
||||
DROP INDEX "Staff_email_key";
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "Staff" DROP COLUMN "email",
|
||||
ADD COLUMN "password" TEXT NOT NULL;
|
||||
|
||||
-- CreateIndex
|
||||
CREATE UNIQUE INDEX "Staff_username_key" ON "Staff"("username");
|
||||
Reference in New Issue
Block a user