mirror of
https://github.com/aljazceru/landscape-template.git
synced 2026-01-15 20:34:22 +01:00
Merge branch 'dev' into feature/list-your-product-ui
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- You are about to drop the column `level` on the `ProjectMember` table. All the data in the column will be lost.
|
||||
- Added the required column `role` to the `ProjectMember` table without a default value. This is not possible if the table is not empty.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "ProjectMember" DROP COLUMN "level",
|
||||
ADD COLUMN "role" TEXT NOT NULL;
|
||||
@@ -180,7 +180,7 @@ model ProjectMember {
|
||||
user User @relation(fields: [userId], references: [id])
|
||||
userId Int
|
||||
|
||||
level String // Admin | Maker | (new_roles_later)
|
||||
role String // Admin | Maker | (new_roles_later)
|
||||
|
||||
@@id([projectId, userId])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user