Skip to content

Commit

Permalink
Merge pull request #106 from theopensystemslab/oz/hpi-update-to-2020
Browse files Browse the repository at this point in the history
fix: switch `hpi` table to 2000 data for social rent formula
  • Loading branch information
zz-hh-aa authored Oct 7, 2024
2 parents dd1e6d8 + 4b5e4f2 commit 8f388fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest; open ./coverage/lcov-report/index.html",
"prisma:pull": "node load-env-and-prisma.js db pull",
"prisma:generate": "prisma generate",
"postinstall": "npm run prisma:generate",
"prettier": "prettier --write .",
Expand Down
10 changes: 5 additions & 5 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ model GDHI {
}

model HPI {
id Int @id @default(autoincrement())
region String? @db.VarChar(250)
itl3 String? @db.VarChar(250)
ladCode String? @map("ladcode") @db.VarChar(250)
hpi2020 Float? @map("hpi_2020")
id Int @id @default(autoincrement())
region String? @db.VarChar(250)
itl3 String? @db.VarChar(250)
ladCode String? @map("ladcode") @db.VarChar(250)
hpi_2000 Float?
@@map("hpi")
}
Expand Down

0 comments on commit 8f388fe

Please sign in to comment.