drop original_content column from library_item table
This commit is contained in:
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;
|
||||
Reference in New Issue
Block a user