db: add slug to team schema

pull/448/head
femyeda 2021-08-13 14:44:55 -05:00
parent b46cf39ef2
commit 917431f4e8
2 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Team" ADD COLUMN "slug" TEXT;

View File

@ -72,6 +72,7 @@ model User {
model Team { model Team {
id Int @default(autoincrement()) @id id Int @default(autoincrement()) @id
name String? name String?
slug String?
members Membership[] members Membership[]
} }