mirror of
https://github.com/SamyRai/turash.git
synced 2025-12-26 23:01:33 +00:00
23 lines
839 B
SQL
Executable File
23 lines
839 B
SQL
Executable File
-- Reverse: Remove enhanced timeline_items fields
|
|
|
|
-- Remove JSONB columns
|
|
ALTER TABLE timeline_items DROP COLUMN IF EXISTS tags;
|
|
ALTER TABLE timeline_items DROP COLUMN IF EXISTS related;
|
|
ALTER TABLE timeline_items DROP COLUMN IF EXISTS actors;
|
|
ALTER TABLE timeline_items DROP COLUMN IF EXISTS locations;
|
|
|
|
-- Remove summary column
|
|
ALTER TABLE timeline_items DROP COLUMN IF EXISTS summary;
|
|
|
|
-- Remove importance column
|
|
ALTER TABLE timeline_items DROP COLUMN IF EXISTS importance;
|
|
|
|
-- Remove categorization columns
|
|
ALTER TABLE timeline_items DROP COLUMN IF EXISTS is_historical;
|
|
ALTER TABLE timeline_items DROP COLUMN IF EXISTS kind;
|
|
ALTER TABLE timeline_items DROP COLUMN IF EXISTS category;
|
|
|
|
-- Remove time range columns
|
|
ALTER TABLE timeline_items DROP COLUMN IF EXISTS time_to;
|
|
ALTER TABLE timeline_items DROP COLUMN IF EXISTS time_from;
|