From f61cbb9f990314233cc49c1e6b98432b9484ddd7 Mon Sep 17 00:00:00 2001 From: zzhhaa Date: Wed, 18 Dec 2024 16:19:02 +0000 Subject: [PATCH] feat: rename district column to region --- .../20241218161553_rename_district_to_region/migration.sql | 2 ++ prisma/schema.prisma | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 prisma/migrations/20241218161553_rename_district_to_region/migration.sql diff --git a/prisma/migrations/20241218161553_rename_district_to_region/migration.sql b/prisma/migrations/20241218161553_rename_district_to_region/migration.sql new file mode 100644 index 0000000..c463479 --- /dev/null +++ b/prisma/migrations/20241218161553_rename_district_to_region/migration.sql @@ -0,0 +1,2 @@ +-- AlterTable +ALTER TABLE "itl_lookup" RENAME COLUMN "district" TO "region"; \ No newline at end of file diff --git a/prisma/schema.prisma b/prisma/schema.prisma index f3efd44..d24d01b 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -38,7 +38,7 @@ model HPI { model ItlLookup { postcode String - district String + region String areacode String itl3 String id Int @id @default(autoincrement())