Skip to content

Commit 0b458f6

Browse files
committed
::migrate::
1 parent 121aeb5 commit 0b458f6

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

packages/postgrest/src/__generated__/db-types.ts

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/prisma-client/prisma/migrations/20250913204036_project_tags/migration.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
ALTER TABLE
22
"Project"
33
ADD
4-
COLUMN "tags" TEXT [];
4+
COLUMN IF NOT EXISTS "tags" TEXT [];
55

66
ALTER TABLE
77
"User"
88
ADD
9-
COLUMN "projectsTags" JSONB;
9+
COLUMN IF NOT EXISTS "projectsTags" JSONB NOT NULL DEFAULT '[]';
1010

1111
DROP VIEW IF EXISTS "DashboardProject";
1212

packages/prisma-client/prisma/schema.prisma

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ model User {
6666
team Team? @relation(fields: [teamId], references: [id])
6767
teamId String?
6868
projects Project[]
69-
projectsTags Json?
69+
projectsTags Json @default("[]")
7070
clientReferences ClientReferences[]
7171
checkout TransactionLog[]
7272
products UserProduct[]

0 commit comments

Comments
 (0)