-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Rename gdhi tables, add not null constraints
- Loading branch information
1 parent
30841ab
commit 1c6ca4b
Showing
3 changed files
with
15 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
prisma/migrations/20241206162843_rename_ghdi_table/migration.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
-- AlterTable | ||
ALTER TABLE "gdhi" | ||
RENAME COLUMN "itllevel" TO "itl_level"; | ||
|
||
-- AlterTable | ||
ALTER TABLE "gdhi" | ||
ALTER COLUMN "itl_level" SET NOT NULL, | ||
ALTER COLUMN "itl3" SET NOT NULL, | ||
ALTER COLUMN "region" SET NOT NULL, | ||
ALTER COLUMN "gdhi_2020" SET NOT NULL; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters