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

15 lines
335 B
MySQL
Raw Normal View History

-- 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
2024-01-24 06:54:39 +00:00
DROP COLUMN failed_at,
DROP COLUMN refreshed_at;
COMMIT;