""" This module contains a Caribou migration. Migration Name: use_ids Migration Version: 20220106130042 """ import hashlib def upgrade(conn): # alter dedup_queue hash type from text to blog conn.execute("drop table if exists dedup_queue") # add the unique id and message_hash columns to logs conn.execute("drop table if exists logs") def downgrade(conn): pass