2024-04-07 00:28:29 +07:00
|
|
|
-- +goose Up
|
|
|
|
-- +goose StatementBegin
|
|
|
|
INSERT INTO subreddits (name, subtype, schedule) VALUES
|
2024-04-08 16:19:56 +07:00
|
|
|
('wallpaper', 0, '0 0 * * *'), -- every day at midnight
|
|
|
|
('wallpapers', 0, '0 0 * * *'); -- every day at midnight
|
2024-04-07 00:28:29 +07:00
|
|
|
|
|
|
|
-- +goose StatementEnd
|
|
|
|
|
|
|
|
-- +goose Down
|
|
|
|
-- +goose StatementBegin
|
2024-04-08 16:19:56 +07:00
|
|
|
DELETE FROM subreddits WHERE name IN ('wallpaper', 'wallpapers');
|
2024-04-07 00:28:29 +07:00
|
|
|
-- +goose StatementEnd
|