function up
up(db: DatabaseSync): void

Run once by runMigrations. Existing users get no row, so they start with the defaults, digests on, like a new account.

Parameters

db: DatabaseSync

Return Type

void

Usage

import { up } from "api/db/migrations/0019_user_settings.ts";