@not3/api
    Preparing search index...

    Class DatabaseConfig

    Index

    Properties

    allowRevertingMigrations: boolean = ...

    In the rare case that you need to downgrade the database, set this temporarily to true. Be aware that this can lead to data loss. Make sure to have backups.

    false
    

    ALLOW_REVERTING_MIGRATIONS

    database: string = ...

    The name of the database. Not used for SQLite.

    'database'
    

    DATABASE_NAME

    filename: string = ...

    The filename of the SQLite database. Only used for SQLite.

    'db/database.sqlite'
    

    DATABASE_FILE

    host: string = ...

    The host of the database. Not used for SQLite.

    'localhost'
    

    DATABASE_HOST

    mode: string = ...

    The mode of the database.

    'sqlite3'
    

    'sqlite3', 'pg', 'mysql'

    DATABASE_MODE

    password: string = ...

    The password of the database. Not used for SQLite.

    'password'
    

    DATABASE_PASSWORD

    port: number = ...

    The port of the database. Not used for SQLite.

    5432
    

    DATABASE_PORT

    user: string = ...

    The username of the database. Not used for SQLite.

    'username'
    

    DATABASE_USERNAME