mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-01 23:48:53 +02:00
🗃️ Upgrade prisma, split schema and add user role (#1722)
This commit is contained in:
parent
cdf311fa27
commit
982fc39ac7
13 changed files with 461 additions and 457 deletions
|
@ -0,0 +1,5 @@
|
|||
-- CreateEnum
|
||||
CREATE TYPE "user_role" AS ENUM ('admin', 'user');
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "users" ADD COLUMN "role" "user_role" NOT NULL DEFAULT 'user';
|
|
@ -1,3 +1,3 @@
|
|||
# Please do not edit this file manually
|
||||
# It should be added in your version-control system (e.g., Git)
|
||||
provider = "postgresql"
|
||||
provider = "postgresql"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue