-
-
Notifications
You must be signed in to change notification settings - Fork 886
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
a9e53db
commit e351d49
Showing
8 changed files
with
102 additions
and
93 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
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
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
2 changes: 0 additions & 2 deletions
2
migrations/2023-07-26-204110_add_post_view_mode_setting/down.sql
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
migrations/2023-07-26-204110_add_post_view_mode_setting/up.sql
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
migrations/2023-08-08-163911_add_post_listing_mode_setting/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,5 @@ | ||
ALTER TABLE local_user | ||
DROP COLUMN post_listing_mode; | ||
|
||
DROP TYPE post_listing_mode_enum; | ||
|
9 changes: 9 additions & 0 deletions
9
migrations/2023-08-08-163911_add_post_listing_mode_setting/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,9 @@ | ||
CREATE TYPE post_listing_mode_enum AS enum ( | ||
'List', | ||
'Card', | ||
'SmallCard' | ||
); | ||
|
||
ALTER TABLE local_user | ||
ADD COLUMN post_listing_mode post_listing_mode_enum DEFAULT 'List' NOT NULL; | ||
|