Skip to content

Commit

Permalink
feat: make itl_lookup fields required
Browse files Browse the repository at this point in the history
  • Loading branch information
zz-hh-aa committed Dec 13, 2024
1 parent 0e9965a commit 427e060
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-- AlterTable
ALTER TABLE "itl_lookup" ALTER COLUMN "postcode" SET NOT NULL,
ALTER COLUMN "district" SET NOT NULL,
ALTER COLUMN "areacode" SET NOT NULL,
ALTER COLUMN "itl3" SET NOT NULL;
8 changes: 4 additions & 4 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ model HPI {
}

model ItlLookup {
postcode String?
district String?
areacode String?
itl3 String?
postcode String
district String
areacode String
itl3 String
id Int @id @default(autoincrement())
@@map("itl_lookup")
Expand Down

0 comments on commit 427e060

Please sign in to comment.