Skip to content

Commit

Permalink
feat: remove unnecessary columns from db
Browse files Browse the repository at this point in the history
  • Loading branch information
zz-hh-aa committed Dec 18, 2024
1 parent ec731dc commit 5420232
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-- AlterTable
ALTER TABLE "gdhi" DROP COLUMN "itl_level";

-- AlterTable
ALTER TABLE "hpi" DROP COLUMN "lad_code";
2 changes: 0 additions & 2 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ model BuildPrices {

model GDHI {
id Int @id @default(autoincrement())
itlLevel String @map("itl_level") @db.VarChar(250)
itl3 String @db.VarChar(250)
region String @db.VarChar(250)
gdhi2020 Float @map("gdhi_2020")
Expand All @@ -32,7 +31,6 @@ model HPI {
id Int @id @default(autoincrement())
region String @db.VarChar(250)
itl3 String @db.VarChar(250)
ladCode String @map("lad_code") @db.VarChar(250)
hpi2000 Float @map("hpi_2000")
@@map("hpi")
Expand Down

0 comments on commit 5420232

Please sign in to comment.