Skip to main content

nanobus.migrate.postgres/v1

Description

DatabaseSource code

This component offers database mifrations 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

name *string

Name of the SQL driver to open.

dataSource

dataSource *string

The data source connection string.

directory

directoryFilePath

The directory to use for migration sources.

sourceUrl

sourceUrlstring

The directory to use for migration sources.