mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
drop original_content column from library_item table
This commit is contained in:
parent
c15f16eb02
commit
9b4bfa454c
2 changed files with 18 additions and 0 deletions
9
packages/db/migrations/0185.do.drop_original_content.sql
Executable file
9
packages/db/migrations/0185.do.drop_original_content.sql
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
-- Type: DO
|
||||
-- Name: drop_original_content
|
||||
-- Description: Drop original_content column from library_item table
|
||||
|
||||
BEGIN;
|
||||
|
||||
ALTER TABLE omnivore.library_item DROP COLUMN original_content;
|
||||
|
||||
COMMIT;
|
||||
9
packages/db/migrations/0185.undo.drop_original_content.sql
Executable file
9
packages/db/migrations/0185.undo.drop_original_content.sql
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
-- Type: UNDO
|
||||
-- Name: drop_original_content
|
||||
-- Description: Drop original_content column from library_item table
|
||||
|
||||
BEGIN;
|
||||
|
||||
ALTER TABLE omnivore.library_item ADD COLUMN original_content text;
|
||||
|
||||
COMMIT;
|
||||
Loading…
Reference in a new issue