brick.ts

Database Migrations

Database configuration in development and caller-owned PostgreSQL migrations.

llms.txt

This guide has been moved to Database Management & Migrations.

Brick-TS uses explicit syncSchema helpers for SQLite in development and caller-owned migrations via Drizzle Kit for PostgreSQL.

Please see the canonical guide: Database Management & Migrations.

Schema

The database guide uses this application-owned table. Apply migrations to the tables declared in your Drizzle schema.

Table Name: users

FieldTypeDescription
idtextRow identifier. PK Default: crypto.randomUUID() (application)
emailtextUnique email address. Unique

On this page

Edit this page on GitHub

Last updated