kemono2/db/migrations/20231014_01_D23j23-discord-server-index.py

14 lines
295 B
Python
Raw Normal View History

2024-07-04 21:57:05 +02:00
"""
Some index that was added by hand before
"""
from yoyo import step
__depends__ = {"20230930_00_TNd34a-add-created-timestamp-to-favs"}
steps = [
step(
"CREATE INDEX IF NOT EXISTS discord_posts_server_channel_idx ON public.discord_posts USING btree (server, channel);"
),
]