mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add icon field to subscriptions table
This commit is contained in:
parent
3a93e0a135
commit
0cd73053c3
2 changed files with 18 additions and 0 deletions
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;
|
||||
Loading…
Reference in a new issue