diff --git a/prisma/migrations/20240202214129_add_country_user/migration.sql b/prisma/migrations/20240202214129_add_country_user/migration.sql new file mode 100644 index 0000000..86a285f --- /dev/null +++ b/prisma/migrations/20240202214129_add_country_user/migration.sql @@ -0,0 +1,2 @@ +-- AlterTable +ALTER TABLE "User" ADD COLUMN "country" TEXT NOT NULL DEFAULT 'brasil'; diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 0359edb..7915d14 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -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[] }