Environment Variables
Boolean flags default to false when unset.
| Variable | Type | Default | Config Keys | Description | Source |
|---|---|---|---|---|---|
DATABASE_CONFIGURATION | string | "mysql" | db.configuration | The default database configuration to be used in the application. The framework can support multiple database configurations that can be accessed at runtime as needed. If you don't want to use a database connection, set this value to empty. / | db.ts |
DATABASE_DEBUGGING | flag | — | db.debug | Enable database debug mode. Config key: `db.debug`. | db.ts |
DATABASE_LOGGING | flag | — | db.logging | Enable database logging. Config key: `db.logging`. | db.ts |
DATABASE_MIGRATIONS_SNAPSHOT_FILE | string | "./migrations/.schema-snapshot.json" | db.migrations.snapshotFile | computed | db.ts |
DATABASE_MYSQL_BIG_NUMBERS_STRING | flag | — | db.mysql.bigNumberStrings | MySQL connection setting. Config key: `db.mysql.bigNumberStrings`. | db.ts |
DATABASE_MYSQL_DATABASE | string | "quik" | db.mysql.database | The name of the database you want to use for your application. / | db.ts |
DATABASE_MYSQL_HOSTNAME | string | "localhost" | db.mysql.hostname | The address of the database server. / | db.ts |
DATABASE_MYSQL_PASSWORD | string | "" | db.mysql.password | The password used to connect to the database server. / | db.ts |
DATABASE_MYSQL_PORT | int | 3306 | db.mysql.port | The port on which the database server is exposed. / | db.ts |
DATABASE_MYSQL_SUPPORT_BIG_NUMBERS | flag | — | db.mysql.supportBigNumbers | When using the `mysql` engine, the bigint numbers are treated as integers by default. If you don't want to expose these numbers as integers, set this flag to `true`. / | db.ts |
DATABASE_MYSQL_TIMEZONE | string | "Z" | db.mysql.timezone | computed | db.ts |
DATABASE_MYSQL_USERNAME | string | "root" | db.mysql.username | The user used to connect to the database server. / | db.ts |
DATABASE_POSTGRES_DATABASE | string | "quik" | db.postgres.database | The name of the database you want to use for your application. / | db.ts |
DATABASE_POSTGRES_HOSTNAME | string | "localhost" | db.postgres.hostname | The address of the database server. / | db.ts |
DATABASE_POSTGRES_PASSWORD | string | "postgres" | db.postgres.password | The password used to connect to the database server. / | db.ts |
DATABASE_POSTGRES_PORT | int | 5432 | db.postgres.port | The port on which the database server is exposed. / | db.ts |
DATABASE_POSTGRES_SCHEMA | string | "public" | db.postgres.schema | The name of the schema from the database you want to use for your application. / | db.ts |
DATABASE_POSTGRES_USERNAME | string | "postgres" | db.postgres.username | The user used to connect to the database server. / | db.ts |
DATABASE_SQLITE_FILENAME | string | ":memory:" | db.sqlite.filename | The SQLite database filename. / | db.ts |