-
+ 24CB89EE415217D9D19CA443F9A25C918FD5D0ED9C30FAC6051A6886AF0AB5F05310A6E64F4D24C6B69AA5DDA096E99FADA0FB1A18FAE16F68BD36E725BDDA9A
blatta/migrations/20220106130042_use_ids.py
(0 . 0)(1 . 17)
2886 """
2887 This module contains a Caribou migration.
2888
2889 Migration Name: use_ids
2890 Migration Version: 20220106130042
2891 """
2892 import hashlib
2893
2894 def upgrade(conn):
2895 # alter dedup_queue hash type from text to blog
2896 conn.execute("drop table if exists dedup_queue")
2897
2898 # add the unique id and message_hash columns to logs
2899 conn.execute("drop table if exists logs")
2900
2901 def downgrade(conn):
2902 pass