💾 Archived View for iich.space › src › db › migrations › 1633917650.ts captured on 2022-03-01 at 16:04:08.
⬅️ Previous capture (2021-12-03)
-=-=-=-=-=-=-
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, };