You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
website/database/cmd/main.go

17 lines
248 B
Go

package main
import (
"git.phc.dm.unipi.it/phc/website/database/sqlite"
)
func main() {
db, err := sqlite.New("phc-server.local.db")
if err != nil {
panic(err)
}
if err := db.Migrate("database/migrations"); err != nil {
panic(err)
}
}