nanobus.migrate.postgres/v1
Description
DatabaseSource code
This component offers database migrations for Postgres using the
golang-migrate/migrate library.
It reads migrations from sources (.sql
files with DDL) and applies them in correct order to a database.
Options
name
string
Name of the SQL driver to open.
dataSource
string
The data source connection string.
directory
string
The directory to use for migration sources.
sourceUrl
string
The directory to use for migration sources.
migrationsTable
string
migrationsTableQuoted
bool
multiStatementEnabled
bool
databaseName
string
schemaName
string
statementTimeout
Duration
multiStatementMaxSize
i32