kemono2/db/migrations/20230616_00_TALu5-add_iframely-data-to-embed.py

18 lines
399 B
Python
Raw Normal View History

2024-07-04 21:57:05 +02:00
"""
Add table complete_imports
"""
from yoyo import step
__depends__ = {"20230517_00_Nt351-add-complete-imports-table"}
steps = [
step(
"""
ALTER TABLE fanbox_embeds ADD COLUMN "iframely_key" varchar(255) NULL;
ALTER TABLE fanbox_embeds ADD COLUMN "iframely_data" jsonb NULL;
ALTER TABLE fanbox_embeds ADD COLUMN "iframely_url" text NULL;
"""
),
]