Files
omnivore/packages/db/migrations/0159.undo.alter_subscriptions.sql

14 lines
308 B
PL/PgSQL
Executable File

-- Type: UNDO
-- Name: alter_subscriptions
-- Description: Alter omnivore.subscriptions table to add a new state and date column
BEGIN;
ALTER TABLE omnivore.subscriptions
RENAME COLUMN most_recent_item_date TO last_fetched_at;
ALTER TABLE omnivore.subscriptions
DROP COLUMN refreshed_at;
COMMIT;