Skip to content

Commit 121aeb5

Browse files
committed
::migrate::
1 parent f8d0adf commit 121aeb5

File tree

1 file changed

+6
-7
lines changed
  • packages/prisma-client/prisma/migrations/20250913204036_project_tags

1 file changed

+6
-7
lines changed

packages/prisma-client/prisma/migrations/20250913204036_project_tags_1/migration.sql renamed to packages/prisma-client/prisma/migrations/20250913204036_project_tags/migration.sql

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ ALTER TABLE
33
ADD
44
COLUMN "tags" TEXT [];
55

6+
ALTER TABLE
7+
"User"
8+
ADD
9+
COLUMN "projectsTags" JSONB;
10+
611
DROP VIEW IF EXISTS "DashboardProject";
712

813
CREATE VIEW "DashboardProject" AS
@@ -28,10 +33,4 @@ SELECT
2833
)
2934
) AS "isPublished"
3035
FROM
31-
"Project";
32-
33-
-- AlterTable
34-
ALTER TABLE
35-
"User"
36-
ADD
37-
COLUMN "projectsTags" JSONB;
36+
"Project";

0 commit comments

Comments
 (0)