import { Migration } from '../migrate'; export const migration: Migration = { down: (db) => { db.exec(` DROP INDEX post_deleted; DROP INDEX board_deleted; `); }, up: (db) => { db.exec(` CREATE INDEX post_deleted ON posts(deleted); CREATE INDEX board_deleted ON boards(deleted); `); }, version: 1631773492, };