~mna/tulip-wiki

3790482a2d22818b8651b8f5149e599fcd566a08 — Martin Angers 3 years ago b106a11 v0.1.9-1
Document migrations_connection_string
1 files changed, 6 insertions(+), 0 deletions(-)

M pkg.database.md
M pkg.database.md => pkg.database.md +6 -0
@@ 5,6 5,12 @@ called, executing all registered migrations.

* connection\_string: string = the connection string

* migrations\_connection\_string: string = if set, the connection
  string to use only for the migrations, in which case the
  connection is not returned to the pool even if one is configured.
  This is typically useful to run the migrations with a different role
  than the rest of the application.

* migrations: array of tables = the migrations to run, each
  table being an array of migration steps (string or function,
  as described in the Migrator) with a 'package' field that