-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switched
calendar.entry_type
from an enum to a string
- Loading branch information
1 parent
13872bd
commit 67a054a
Showing
7 changed files
with
30 additions
and
40 deletions.
There are no files selected for viewing
15 changes: 1 addition & 14 deletions
15
server/.sqlx/query-1ffddd843ece79fa10cfb98c2e8aff2842cad45867c3a72f807ae08c1b10cb37.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
21 changes: 4 additions & 17 deletions
21
...3f91b262d8c42e7a6886ce25a14975c87f70.json → ...7645c4b7413815693ebe3db92a62f2909dab.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
3 changes: 3 additions & 0 deletions
3
server/main-api/migrations/20240710191621_no_enum_types.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,3 @@ | ||
-- Add down migration script here | ||
DELETE FROM calendar WHERE 1=1 -- to make migrating simpler and because it is possible | ||
alter table calendar alter column entry_type type entry_type; |
2 changes: 2 additions & 0 deletions
2
server/main-api/migrations/20240710191621_no_enum_types.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,2 @@ | ||
-- Add up migration script here | ||
alter table calendar alter column entry_type type text using entry_type::text |
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