function up
up(db: DatabaseSync): void

Run once by runMigrations. On a database made from schema.sql the tables and indexes exist and there is nothing to re-slug or rewrite.

Parameters

db: DatabaseSync

Return Type

void

Usage

import { up } from "api/db/migrations/0021_page_urls.ts";