Documentation ¶
Index ¶
Constants ¶
View Source
const (
MigrationTable = "libindex_migrations"
)
Variables ¶
View Source
var Migrations = []migrate.Migration{ { ID: 1, Up: func(tx *sql.Tx) error { _, err := tx.Exec(migration1) return err }, }, { ID: 2, Up: func(tx *sql.Tx) error { _, err := tx.Exec(migration2) return err }, }, { ID: 3, Up: func(tx *sql.Tx) error { _, err := tx.Exec(migration3) return err }, }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.