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.mjs file.
  • Schema: The schema is defined in the packages/database/src/schema directory.
  • Migrations: The migrations are defined in the packages/database/src/schema directory.
  • Client: The database client is defined in the packages/database/src/client.ts file, which can be imported in your application to interact with the database.

Next: Schema Overview →