function up
up(db: DatabaseSync): void

Run once by runMigrations. A database made from schema.sql already has the table.

Parameters

db: DatabaseSync

Return Type

void

Usage

import { up } from "api/db/migrations/0007_password_reset_tokens.ts";