mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
14 lines
335 B
PL/PgSQL
Executable file
14 lines
335 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 failed_at,
|
|
DROP COLUMN refreshed_at;
|
|
|
|
COMMIT;
|