-
-
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
829b78f
commit 56461ad
Showing
7 changed files
with
58 additions
and
46 deletions.
There are no files selected for viewing
35 changes: 0 additions & 35 deletions
35
server/.sqlx/query-1ffddd843ece79fa10cfb98c2e8aff2842cad45867c3a72f807ae08c1b10cb37.json
This file was deleted.
Oops, something went wrong.
35 changes: 35 additions & 0 deletions
35
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.
10 changes: 5 additions & 5 deletions
10
...3f91b262d8c42e7a6886ce25a14975c87f70.json → ...2cf92df0147509f87cf194654e69c7cef696.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