Libraries
    Preparing search index...

    Interface MigrationsConfig

    Migration-runner configuration block inside OrmCliConfig.

    interface MigrationsConfig {
        directory: string;
        snapshot?: string;
        tableName?: string;
    }
    Index

    Properties

    directory: string

    Directory where migration files are read from / written to.

    snapshot?: string

    Path to the schema snapshot file. Must be committed to version control — it is the source of truth for migrate generate.

    <directory>/snapshot.json

    tableName?: string

    Knex migration tracking table name.

    'knex_migrations'