-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from geode-sdk/tag-extras
Add display_name for tags, rename `cheats` to `cheat`
- Loading branch information
Showing
6 changed files
with
97 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
-- Add down migration script here | ||
|
||
ALTER TABLE mod_tags DROP COLUMN display_name; | ||
|
||
UPDATE mod_tags SET name = 'cheats' | ||
WHERE name = 'cheat'; |
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,40 @@ | ||
-- Add up migration script here | ||
|
||
ALTER TABLE mod_tags ADD COLUMN display_name TEXT; | ||
|
||
UPDATE mod_tags SET display_name = 'Universal' | ||
WHERE name = 'universal'; | ||
UPDATE mod_tags SET display_name = 'Gameplay' | ||
WHERE name = 'gameplay'; | ||
UPDATE mod_tags SET display_name = 'Editor' | ||
WHERE name = 'editor'; | ||
UPDATE mod_tags SET display_name = 'Offline' | ||
WHERE name = 'offline'; | ||
UPDATE mod_tags SET display_name = 'Online' | ||
WHERE name = 'online'; | ||
UPDATE mod_tags SET display_name = 'Enhancement' | ||
WHERE name = 'enhancement'; | ||
UPDATE mod_tags SET display_name = 'Music' | ||
WHERE name = 'music'; | ||
UPDATE mod_tags SET display_name = 'Interface' | ||
WHERE name = 'interface'; | ||
UPDATE mod_tags SET display_name = 'Bugfix' | ||
WHERE name = 'bugfix'; | ||
UPDATE mod_tags SET display_name = 'Utility' | ||
WHERE name = 'utility'; | ||
UPDATE mod_tags SET display_name = 'Performance' | ||
WHERE name = 'performance'; | ||
UPDATE mod_tags SET display_name = 'Customization' | ||
WHERE name = 'customization'; | ||
UPDATE mod_tags SET display_name = 'Content' | ||
WHERE name = 'content'; | ||
UPDATE mod_tags SET display_name = 'Developer' | ||
WHERE name = 'developer'; | ||
UPDATE mod_tags SET display_name = 'Cheat', name = 'cheat' | ||
WHERE name = 'cheats'; | ||
UPDATE mod_tags SET display_name = 'Paid' | ||
WHERE name = 'paid'; | ||
UPDATE mod_tags SET display_name = 'Joke' | ||
WHERE name = 'joke'; | ||
UPDATE mod_tags SET display_name = 'Modtober 2024' | ||
WHERE name = 'modtober24'; |
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