kemono2/db/migrations/20230901_12_KR36h-index-announcements-idx.py

16 lines
300 B
Python
Raw Normal View History

2024-07-04 21:57:05 +02:00
"""
Add table complete_imports
"""
from yoyo import step
__depends__ = {"20230827_00_USDf5-add-index-to-revisions"}
steps = [
step(
"""
CREATE INDEX introductory_messages_user_id_added_idx ON public.introductory_messages USING btree (user_id , added);
"""
),
]