kemono2/db/migrations/20231031_00_UAEfd3-add-user-id-hash-to-keys.py

12 lines
259 B
Python
Raw Normal View History

2024-07-04 22:08:17 +02:00
"""
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;"""),
]