import { Migration } from '../migrate'; export const migration: Migration = { down: (db) => { db.exec(` ALTER TABLE posts DROP COLUMN muted; `); }, up: (db) => { db.exec(` ALTER TABLE posts ADD COLUMN muted INTEGER; UPDATE posts SET muted = 0; `); }, version: 1633917650, };