Skip to content

Commit

Permalink
adding migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
MatheusSanchez committed Feb 2, 2024
1 parent 972bb64 commit 53df389
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "User" ADD COLUMN "country" TEXT NOT NULL DEFAULT 'brasil';
1 change: 1 addition & 0 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ model User {
is_google Boolean @default(false)
created_at DateTime @default(now())
updated_at DateTime @updatedAt
country String @default("brasil")
projects Project[]
}
Expand Down

0 comments on commit 53df389

Please sign in to comment.