Drizzle ORM Configuration
Configure Drizzle ORM for type-safe database operations and schema management.
Drizzle is configured in the @kit/database package for type-safe database operations. In this package, we define the database connection and the schema.
- Configuration: The configuration is defined in the
packages/database/drizzle.config.mjsfile. - Schema: The schema is defined in the
packages/database/src/schemadirectory. - Migrations: The migrations are defined in the
packages/database/src/schemadirectory. - Client: The database client is defined in the
packages/database/src/client.tsfile, which can be imported in your application to interact with the database.
Next: Schema Overview →