export const MIGRATE_UP = { 1: [ `CREATE TABLE IF NOT EXISTS settings ( host_language TEXT, libretranslate_base_url TEXT, ui_direction INTEGER, whisper_model TEXT )`, ], 2: [ `CREATE TABLE IF NOT EXISTS whisper_models ( model TEXT PRIMARY KEY, bytes_done INTEGER, bytes_total INTEGER )`, ], }; export const MIGRATE_DOWN = { 1: [`DROP TABLE IF EXISTS settings`], 2: [`DROP TABLE IF EXISTS whisper_models`], };