From 8be99f151c4cef270b85fe20b9587f5d671928db Mon Sep 17 00:00:00 2001 From: Matheus Sanchez Date: Sun, 4 Feb 2024 16:50:22 -0300 Subject: [PATCH] Brazil as default country --- .../20240204194612_brazil_as_default_country/migration.sql | 2 ++ prisma/schema.prisma | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 prisma/migrations/20240204194612_brazil_as_default_country/migration.sql diff --git a/prisma/migrations/20240204194612_brazil_as_default_country/migration.sql b/prisma/migrations/20240204194612_brazil_as_default_country/migration.sql new file mode 100644 index 0000000..e476baa --- /dev/null +++ b/prisma/migrations/20240204194612_brazil_as_default_country/migration.sql @@ -0,0 +1,2 @@ +-- AlterTable +ALTER TABLE "User" ALTER COLUMN "country" SET DEFAULT 'Brazil'; diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 42fd83d..bad8907 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -17,7 +17,7 @@ model User { is_google Boolean @default(false) created_at DateTime @default(now()) updated_at DateTime @updatedAt - country String @default("brasil") + country String @default("Brazil") projects Project[] }