From eec2cd8d55903dca661180d71f66447b404bd5a0 Mon Sep 17 00:00:00 2001 From: Nekrasov Ilya Date: Fri, 4 Oct 2019 17:30:07 +0300 Subject: [PATCH 1/2] Update migrations.js --- sections/migrations.js | 1 + 1 file changed, 1 insertion(+) diff --git a/sections/migrations.js b/sections/migrations.js index cd1c5568..09bd9fec 100644 --- a/sections/migrations.js +++ b/sections/migrations.js @@ -360,6 +360,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`: don't validate that completed migrations are present in the appropriate 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)" From 882bd3db9d912d341e19a04bdb4e203c1f4da389 Mon Sep 17 00:00:00 2001 From: Nekrasov Ilya Date: Sat, 5 Oct 2019 23:42:32 +0300 Subject: [PATCH 2/2] Update migrations.js --- sections/migrations.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sections/migrations.js b/sections/migrations.js index 09bd9fec..36cc7cd3 100644 --- a/sections/migrations.js +++ b/sections/migrations.js @@ -360,7 +360,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`: don't validate that completed migrations are present in the appropriate directories (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)"