mirror of
https://github.com/rjNemo/rentease.git
synced 2026-06-11 05:06:52 +00:00
remove migration script
This commit is contained in:
parent
8afd35da8e
commit
4bc9a71061
1 changed files with 0 additions and 7 deletions
7
main.go
7
main.go
|
|
@ -34,12 +34,5 @@ func main() {
|
|||
log.Fatalf("error migrating the database %s\n", err)
|
||||
}
|
||||
|
||||
if os.Getenv("MIGRATE_DB") != "" {
|
||||
err := MigrateDB(db)
|
||||
if err != nil {
|
||||
log.Fatalln(err)
|
||||
}
|
||||
}
|
||||
|
||||
server.New(booking.NewService(db), pdf.NewPdfService(), config.NewHost()).Start()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue