💾 Archived View for iich.space › src › db › migrations › 1632267641.ts captured on 2021-12-04 at 18:04:22.
⬅️ Previous capture (2021-12-03)
-=-=-=-=-=-=-
import { Migration } from '../migrate'; export const migration: Migration = { down: (db) => { db.exec(` DROP TABLE tokens `); }, up: (db) => { db.exec(` CREATE TABLE tokens ( token VARCHAR(16) PRIMARY KEY, timestamp INTEGER ) `); }, version: 1632267641, };