function up
up(db: DatabaseSync): void

Run once by runMigrations. Existing messages reply to nothing, and a database made from schema.sql already has the column.

Parameters

db: DatabaseSync

Return Type

void

Usage

import { up } from "api/db/migrations/0009_chat_reply.ts";