mirror of
https://github.com/pressly/goose.git
synced 2025-09-04 19:37:19 +00:00
16 lines
201 B
Go
16 lines
201 B
Go
package gomigrations
|
|
|
|
import (
|
|
"database/sql"
|
|
|
|
"github.com/pressly/goose/v3"
|
|
)
|
|
|
|
func init() {
|
|
goose.AddMigrationNoTx(up006, nil)
|
|
}
|
|
|
|
func up006(db *sql.DB) error {
|
|
return createTable(db, "delta")
|
|
}
|