kemono2/db/migrations/20210729_01_jopn6-add-contributor-id-column-to-dm-table.py
2024-07-04 21:57:05 +02:00

15 lines
292 B
Python

"""
Add contributor ID column to DM table
"""
from yoyo import step
__depends__ = {"20210707_04_l1vte-add-dm-indexes"}
steps = [
step(
"ALTER TABLE unapproved_dms ADD COLUMN contributor_id varchar(255)",
"ALTER TABLE unapproved_dms DROP COLUMN contributor_id",
)
]