2023-02-15 20:47:21 -08:00
|
|
|
-- +goose Up
|
|
|
|
-- +goose StatementBegin
|
|
|
|
SELECT 'up SQL query';
|
|
|
|
|
|
|
|
-- Enable UUID's
|
|
|
|
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
|
|
|
|
|
|
|
|
-- Final Fantasy XIV Entries
|
2023-03-31 22:49:39 -07:00
|
|
|
INSERT INTO sources
|
|
|
|
VALUES (uuid_generate_v4(), 'ffxiv', 'Final Fantasy XIV - NA', 'scrape', 'ffxiv', 'a', TRUE,
|
|
|
|
'https://na.finalfantasyxiv.com/lodestone/', 'ffxiv, final, fantasy, xiv, na, lodestone');
|
|
|
|
INSERT INTO sources
|
|
|
|
VALUES (uuid_generate_v4(), 'ffxiv', 'Final Fantasy XIV - JP', 'scrape', 'ffxiv', 'a', FALSE,
|
|
|
|
'https://jp.finalfantasyxiv.com/lodestone/', 'ffxiv, final, fantasy, xiv, jp, lodestone');
|
|
|
|
INSERT INTO sources
|
|
|
|
VALUES (uuid_generate_v4(), 'ffxiv', 'Final Fantasy XIV - EU', 'scrape', 'ffxiv', 'a', FALSE,
|
|
|
|
'https://eu.finalfantasyxiv.com/lodestone/', 'ffxiv, final, fantasy, xiv, eu, lodestone');
|
|
|
|
INSERT INTO sources
|
|
|
|
VALUES (uuid_generate_v4(), 'ffxiv', 'Final Fantasy XIV - FR', 'scrape', 'ffxiv', 'a', FALSE,
|
|
|
|
'https://fr.finalfantasyxiv.com/lodestone/', 'ffxiv, final, fantasy, xiv, fr, lodestone');
|
|
|
|
INSERT INTO sources
|
|
|
|
VALUES (uuid_generate_v4(), 'ffxiv', 'Final Fantasy XIV - DE', 'scrape', 'ffxiv', 'a', FALSE,
|
|
|
|
'https://de.finalfantasyxiv.com/lodestone/', 'ffxiv, final, fantasy, xiv, de, lodestone');
|
2023-02-15 20:47:21 -08:00
|
|
|
-- +goose StatementEnd
|
|
|
|
|
|
|
|
-- +goose Down
|
|
|
|
-- +goose StatementBegin
|
|
|
|
--SELECT 'down SQL query';
|
2023-03-31 22:49:39 -07:00
|
|
|
DELETE
|
|
|
|
FROM sources
|
|
|
|
where source = 'ffxiv';
|
2023-02-15 20:47:21 -08:00
|
|
|
-- +goose StatementEnd
|