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

15 lines
253 B
Go

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