1
0
mirror of https://github.com/raseels-repos/golang-saas-starter-kit.git synced 2025-06-06 23:46:29 +02:00

18 lines
317 B
Go
Raw Normal View History

package schema
2019-05-23 14:01:24 -05:00
import (
"github.com/jmoiron/sqlx"
"log"
)
// initSchema runs before any migrations are executed. This happens when no other migrations
// have previously been executed.
func initSchema(db *sqlx.DB, log *log.Logger) func(*sqlx.DB) error {
f := func(*sqlx.DB) error {
return nil
}
return f
}