kemono2/db/migrations/20240121_00_TOD44-password-table-pk.py
2024-07-04 21:57:05 +02:00

14 lines
256 B
Python

"""
Add table to keep track of files passwords
"""
from yoyo import step
__depends__ = {'20240120_00_TID85-password-field-for-files'}
steps = [
step("""
ALTER TABLE public.archive_files ADD CONSTRAINT archive_files_pk PRIMARY KEY (file_id);
"""),
]