From 416c3591937fe8075c080d257b527066fa1a09be Mon Sep 17 00:00:00 2001 From: Nekrasov Ilya Date: Sat, 12 Oct 2019 23:15:25 +0300 Subject: [PATCH] Docs for disableValidateMigrationsList (#237) --- sections/migrations.js | 1 + 1 file changed, 1 insertion(+) diff --git a/sections/migrations.js b/sections/migrations.js index add44519..fd6fd086 100644 --- a/sections/migrations.js +++ b/sections/migrations.js @@ -380,6 +380,7 @@ export default [ "`tableName`: the table name used for storing the migration state (default `knex_migrations`)", "`schemaName`: the schema name used for storing the table with migration state (optional parameter, only works on DBs that support multiple schemas in a single DB, such as PostgreSQL)", "`disableTransactions`: don't run migrations inside transactions (default `false`)", + "`disableMigrationsListValidation`: do not validate that all the already executed migrations are still present in migration directories (default `false`)", "`sortDirsSeparately`: if true and multiple directories are specified, all migrations from a single directory will be executed before executing migrations in the next folder (default `false`)", "`loadExtensions`: array of file extensions which knex will treat as migrations. For example, if you have typescript transpiled into javascript in the same folder, you want to execute only javascript migrations. In this case, set `loadExtensions` to `['.js']` (Notice the dot!) (default `['.co', '.coffee', '.eg', '.iced', '.js', '.litcoffee', '.ls', '.ts']`)", "`migrationSource`: specify a custom migration source, see [Custom Migration Source](#custom-migration-sources) for more info (default filesystem)"