kemono2/db/migrations/20231031_00_UAEfd3-add-user-id-hash-to-keys.py
2024-07-04 21:57:05 +02:00

12 lines
259 B
Python

"""
Add user id hash to saved session keys
"""
from yoyo import step
__depends__ = {"20230909_00_AUS5i6-new-index-for-post-get-prev-next"}
steps = [
step("""ALTER TABLE public.saved_session_keys_with_hashes ADD remote_user_id_hash varchar NULL;"""),
]