migration: fix wallpaper and wallpapers order on insert
This commit is contained in:
parent
117d8765fc
commit
f74df98a52
|
@ -1,12 +1,12 @@
|
|||
-- +goose Up
|
||||
-- +goose StatementBegin
|
||||
INSERT INTO subreddits (name, subtype, schedule) VALUES
|
||||
('wallpapers', 0, '0 0 * * *'), -- every day at midnight
|
||||
('wallpaper', 0, '0 0 * * *'); -- every day at midnight
|
||||
('wallpaper', 0, '0 0 * * *'), -- every day at midnight
|
||||
('wallpapers', 0, '0 0 * * *'); -- every day at midnight
|
||||
|
||||
-- +goose StatementEnd
|
||||
|
||||
-- +goose Down
|
||||
-- +goose StatementBegin
|
||||
DELETE FROM subreddits WHERE name IN ('wallpapers', 'wallpaper');
|
||||
DELETE FROM subreddits WHERE name IN ('wallpaper', 'wallpapers');
|
||||
-- +goose StatementEnd
|
||||
|
|
Loading…
Reference in a new issue