kemono2/db/migrations/20230827_00_USDf5-add-index-to-revisions.py

16 lines
248 B
Python
Raw Permalink Normal View History

2024-07-04 22:08:17 +02:00
"""
Add table complete_imports
"""
from yoyo import step
__depends__ = {"20230616_00_TALu5-add_iframely-data-to-embed"}
steps = [
step(
"""
CREATE INDEX revisions_id_idx ON revisions USING hash (id);
"""
),
]