kemono2/db/migrations/20231111_00_BQL75-add-captions-to-posts.py
2024-07-04 21:57:05 +02:00

13 lines
261 B
Python

"""
Add poll to posts
"""
from yoyo import step
__depends__ = {"20231110_00_BENL23-add-poll-to-post-table"}
steps = [
step("""ALTER TABLE posts ADD COLUMN captions jsonb NULL;"""),
step("""ALTER TABLE revisions ADD COLUMN captions jsonb NULL;"""),
]