Add icon field to subscriptions table
This commit is contained in:
9
packages/db/migrations/0096.do.subscriptions_icon.sql
Executable file
9
packages/db/migrations/0096.do.subscriptions_icon.sql
Executable file
@ -0,0 +1,9 @@
|
||||
-- Type: DO
|
||||
-- Name: subscriptions_icon
|
||||
-- Description: Add icon field to subscriptions table
|
||||
|
||||
BEGIN;
|
||||
|
||||
ALTER TABLE omnivore.subscriptions ADD COLUMN icon text;
|
||||
|
||||
COMMIT;
|
||||
9
packages/db/migrations/0096.undo.subscriptions_icon.sql
Executable file
9
packages/db/migrations/0096.undo.subscriptions_icon.sql
Executable file
@ -0,0 +1,9 @@
|
||||
-- Type: UNDO
|
||||
-- Name: subscriptions_icon
|
||||
-- Description: Add icon field to subscriptions table
|
||||
|
||||
BEGIN;
|
||||
|
||||
ALTER TABLE omnivore.subscriptions DROP COLUMN IF EXISTS icon;
|
||||
|
||||
COMMIT;
|
||||
Reference in New Issue
Block a user