function up
up(db: DatabaseSync): void

Run once by runMigrations. It doesn't scan the notes and comments already posted, so their links are recorded only once they are edited.

Parameters

db: DatabaseSync

Return Type

void

Usage

import { up } from "api/db/migrations/0003_dump_backlinks.ts";