Database Migrations
Database configuration in development and caller-owned PostgreSQL migrations.
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
| Field | Type | Description |
|---|---|---|
id | text | Row identifier. PK Default: crypto.randomUUID() (application) |
email | text | Unique email address. Unique |