Adds chat_messages, which holds the messages of the site-wide chat.

Functions

f
up(db: DatabaseSync): void

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

Usage

import * as mod from "api/db/migrations/0008_chat_messages.ts";