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 00000000..c463479c --- /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 f3efd44c..d24d01b9 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())