export const MIGRATE_UP = { 1: [ `CREATE TABLE IF NOT EXISTS settings ( key TEXT PRIMARY KEY, value TEXT )`, ], 2: [ `CREATE TABLE IF NOT EXISTS whisper_models ( model TEXT PRIMARY KEY, download_status STRING(255), expected_size INTEGER, last_hash STRING(1024), bytes_done INTEGER, bytes_total INTEGER )`, ], }; export const MIGRATE_DOWN = { 1: [`DROP TABLE IF EXISTS settings`], 2: [`DROP TABLE IF EXISTS whisper_models`], };