-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2b62c12
commit c5e7ebc
Showing
7 changed files
with
46 additions
and
34 deletions.
There are no files selected for viewing
22 changes: 0 additions & 22 deletions
22
server/.sqlx/query-1ffddd843ece79fa10cfb98c2e8aff2842cad45867c3a72f807ae08c1b10cb37.json
This file was deleted.
Oops, something went wrong.
10 changes: 5 additions & 5 deletions
10
...7645c4b7413815693ebe3db92a62f2909dab.json → ...d6216530909e31c417d5234ac270e4d851c8.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
server/.sqlx/query-3f063afa6b1cee235b60edc06dee94adea3223725f8906025b3abebd24704ee4.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
server/main-api/migrations/20240703163202_more_complete_calendar.down.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,7 @@ | ||
-- Add down migration script here | ||
|
||
ALTER TABLE calendar RENAME COLUMN title_de TO stp_title_de; | ||
ALTER TABLE calendar RENAME COLUMN title_en TO stp_title_en; | ||
|
||
DELETE FROM calendar where stp_type is null; | ||
ALTER TABLE calendar CHANGE COLUMN stp_type SET NOT NULL; |
5 changes: 5 additions & 0 deletions
5
server/main-api/migrations/20240703163202_more_complete_calendar.up.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,5 @@ | ||
-- Add up migration script here | ||
ALTER TABLE calendar RENAME COLUMN stp_title_de TO title_de; | ||
ALTER TABLE calendar RENAME COLUMN stp_title_en TO title_en; | ||
|
||
ALTER TABLE calendar ALTER COLUMN stp_type drop 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
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