c2ef8a7d56
allows for config settings to be easily set through ENV variables, config files, or CLI flags adds flag to run migration on web server start (fixes #29)
14 lines
160 B
Go
14 lines
160 B
Go
// +build prod
|
|
|
|
package commands
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/jordanknott/taskcafe/internal/migrations"
|
|
)
|
|
|
|
func init() {
|
|
migration = migrations.Migrations
|
|
}
|