-
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 prices_paid table and columns
- Loading branch information
Showing
3 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
prisma/migrations/20241212122823_rename_prices_paid_table_and_columns/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,6 @@ | ||
-- Alter table | ||
ALTER TABLE "pricespaid" RENAME TO "prices_paid"; | ||
|
||
-- Alter table | ||
ALTER TABLE "prices_paid" RENAME COLUMN "propertytype" TO "property_type"; | ||
ALTER TABLE "prices_paid" RENAME COLUMN "transactionidentifier" TO "transaction_identifier"; |
2 changes: 2 additions & 0 deletions
2
prisma/migrations/20241212123044_rename_prices_paid_constraint/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,2 @@ | ||
-- AlterTable | ||
ALTER TABLE "prices_paid" RENAME CONSTRAINT "pricespaid_pkey" TO "prices_paid_pkey"; |
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