feat: auto gen user code
This commit is contained in:
parent
3abff0594a
commit
3f0ed2c8d6
4 changed files with 113 additions and 32 deletions
5
prisma/migrations/20240409040419_update/migration.sql
Normal file
5
prisma/migrations/20240409040419_update/migration.sql
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
-- CreateEnum
|
||||
CREATE TYPE "UserType" AS ENUM ('USER', 'MESSENGER', 'DELEGATE', 'AGENCY');
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "User" ALTER COLUMN "code" DROP NOT NULL;
|
||||
Loading…
Add table
Add a link
Reference in a new issue