kemono2/db/migrations/20230909_00_AUS5i6-new-index-for-post-get-prev-next.py
2024-07-04 21:57:05 +02:00

12 lines
252 B
Python

"""
Add table complete_imports
"""
from yoyo import step
__depends__ = {"20230903_00_CHN7so-remake_fanbox_newsletter"}
steps = [
step("""CREATE INDEX IF NOT EXISTS posts_user_published_id_idx ON posts USING btree ("user", published, id);"""),
]