From 917431f4e8d1712b9b9e97da73e32bd0dacd533b Mon Sep 17 00:00:00 2001 From: femyeda Date: Fri, 13 Aug 2021 14:44:55 -0500 Subject: [PATCH] db: add slug to team schema --- prisma/migrations/20210813194355_add_slug_to_team/migration.sql | 2 ++ prisma/schema.prisma | 1 + 2 files changed, 3 insertions(+) create mode 100644 prisma/migrations/20210813194355_add_slug_to_team/migration.sql diff --git a/prisma/migrations/20210813194355_add_slug_to_team/migration.sql b/prisma/migrations/20210813194355_add_slug_to_team/migration.sql new file mode 100644 index 0000000000..0e4ef8246c --- /dev/null +++ b/prisma/migrations/20210813194355_add_slug_to_team/migration.sql @@ -0,0 +1,2 @@ +-- AlterTable +ALTER TABLE "Team" ADD COLUMN "slug" TEXT; diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 62e935610a..02bc0bc6e6 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -72,6 +72,7 @@ model User { model Team { id Int @default(autoincrement()) @id name String? + slug String? members Membership[] }