2024-04-26 16:02:36 -07:00
-- +goose Up
-- +goose StatementBegin
SELECT ' up SQL query ' ;
-- Enable UUID's
- - CREATE EXTENSION IF NOT EXISTS " uuid-ossp " ;
-- Final Fantasy XIV Entries
2024-04-28 10:02:57 -07:00
INSERT INTO sources ( CreatedAt , UpdatedAt , DeletedAt , DisplayName , Source , Enabled , Url , Tags ) VALUES
( " 2024-04-25 18:37:43.852367 " , " 2024-04-25 18:37:43.852367 " , " 0001-01-01 00:00:00 " , ' ffxiv ' , ' Final Fantasy XIV - NA ' , TRUE , ' https://na.finalfantasyxiv.com/lodestone/ ' , ' ffxiv, final, fantasy, xiv, na, lodestone ' ) ;
INSERT INTO sources ( CreatedAt , UpdatedAt , DeletedAt , DisplayName , Source , Enabled , Url , Tags ) VALUES
( " 2024-04-25 18:37:43.852367 " , " 2024-04-25 18:37:43.852367 " , " 0001-01-01 00:00:00 " , ' ffxiv ' , ' Final Fantasy XIV - JP ' , FALSE , ' https://jp.finalfantasyxiv.com/lodestone/ ' , ' ffxiv, final, fantasy, xiv, jp, lodestone ' ) ;
INSERT INTO sources ( CreatedAt , UpdatedAt , DeletedAt , DisplayName , Source , Enabled , Url , Tags ) VALUES
( " 2024-04-25 18:37:43.852367 " , " 2024-04-25 18:37:43.852367 " , " 0001-01-01 00:00:00 " , ' ffxiv ' , ' Final Fantasy XIV - EU ' , FALSE , ' https://eu.finalfantasyxiv.com/lodestone/ ' , ' ffxiv, final, fantasy, xiv, eu, lodestone ' ) ;
INSERT INTO sources ( CreatedAt , UpdatedAt , DeletedAt , DisplayName , Source , Enabled , Url , Tags ) VALUES
( " 2024-04-25 18:37:43.852367 " , " 2024-04-25 18:37:43.852367 " , " 0001-01-01 00:00:00 " , ' ffxiv ' , ' Final Fantasy XIV - FR ' , FALSE , ' https://fr.finalfantasyxiv.com/lodestone/ ' , ' ffxiv, final, fantasy, xiv, fr, lodestone ' ) ;
INSERT INTO sources ( CreatedAt , UpdatedAt , DeletedAt , DisplayName , Source , Enabled , Url , Tags ) VALUES
( " 2024-04-25 18:37:43.852367 " , " 2024-04-25 18:37:43.852367 " , " 0001-01-01 00:00:00 " , ' ffxiv ' , ' Final Fantasy XIV - DE ' , FALSE , ' https://de.finalfantasyxiv.com/lodestone/ ' , ' ffxiv, final, fantasy, xiv, de, lodestone ' ) ;
2024-04-26 16:02:36 -07:00
-- Reddit Entries
2024-04-28 10:02:57 -07:00
INSERT INTO sources ( CreatedAt , UpdatedAt , DeletedAt , DisplayName , Source , Enabled , Url , Tags ) VALUES
( " 2024-04-25 18:37:43.852367 " , " 2024-04-25 18:37:43.852367 " , " 0001-01-01 00:00:00 " , ' reddit ' , ' dadjokes ' , TRUE , ' https://reddit.com/r/dadjokes ' , ' reddit, dadjokes ' ) ;
INSERT INTO sources ( CreatedAt , UpdatedAt , DeletedAt , DisplayName , Source , Enabled , Url , Tags ) VALUES
( " 2024-04-25 18:37:43.852367 " , " 2024-04-25 18:37:43.852367 " , " 0001-01-01 00:00:00 " , ' reddit ' , ' steamdeck ' , TRUE , ' https://reddit.com/r/steamdeck ' , ' reddit, steam deck, steam, deck ' ) ;
2024-04-26 16:02:36 -07:00
-- Youtube Entries
2024-04-28 10:02:57 -07:00
INSERT INTO sources ( CreatedAt , UpdatedAt , DeletedAt , DisplayName , Source , Enabled , Url , Tags ) VALUES
( " 2024-04-25 18:37:43.852367 " , " 2024-04-25 18:37:43.852367 " , " 0001-01-01 00:00:00 " , ' youtube ' , ' Game Grumps ' , TRUE , ' https://www.youtube.com/user/GameGrumps ' , ' youtube, game grumps, game, grumps ' ) ;
2024-04-26 16:02:36 -07:00
-- RSS Entries
2024-04-28 10:02:57 -07:00
INSERT INTO sources ( CreatedAt , UpdatedAt , DeletedAt , DisplayName , Source , Enabled , Url , Tags ) VALUES
( " 2024-04-25 18:37:43.852367 " , " 2024-04-25 18:37:43.852367 " , " 0001-01-01 00:00:00 " , ' steampowered ' , ' steam deck ' , TRUE , ' https://store.steampowered.com/feeds/news/app/1675200/?cc=US&l=english&snr=1_2108_9__2107 ' , ' rss, steampowered, steam, deck, steam deck ' ) ;
2024-04-26 16:02:36 -07:00
-- Twitch Entries
2024-04-28 10:02:57 -07:00
INSERT INTO sources ( CreatedAt , UpdatedAt , DeletedAt , DisplayName , Source , Enabled , Url , Tags ) VALUES
( " 2024-04-25 18:37:43.852367 " , " 2024-04-25 18:37:43.852367 " , " 0001-01-01 00:00:00 " , ' twitch ' , ' Nintendo ' , TRUE , ' https://twitch.tv/nintendo ' , ' twitch, nintendo ' ) ;
2024-04-26 16:02:36 -07:00
-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
- - SELECT ' down SQL query ' ;
DELETE FROM sources where source = ' reddit ' and name = ' dadjokes ' ;
DELETE FROM sources where source = ' reddit ' and name = ' steamdeck ' ;
DELETE FROM sources where source = ' ffxiv ' ;
DELETE FROM sources WHERE source = ' twitch ' and name = ' Nintendo ' ;
DELETE FROM sources WHERE source = ' youtube ' and name = ' Game Grumps ' ;
DELETE FROM SOURCES WHERE source = ' rss ' and name = ' steam deck ' ;
-- +goose StatementEnd