Documentation
¶
Overview ¶
Package gowaymigrator provides a goway-backed sqlbus.Migrator. Importing this package is the single action that pulls github.com/cgardev/goway into a build; the sqlbus core itself depends only on database/sql.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New returns a sqlbus.Migrator backed by goway. It applies the sqlbus-owned embedded schema as a Flyway-style versioned migration, recording history in the sqlbus.SchemaHistoryTable table. Pass the result to sqlbus.WithMigrator:
store := sqlbus.NewPostgresStore(db, sqlbus.WithMigrator(gowaymigrator.New()))
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.