mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: Remove required Close from database.Migrate (#25)
* fix: Remove required Close from database.Migrate * Remove dbName from Migrate function arguments * Fix func call
This commit is contained in:
@@ -25,7 +25,7 @@ func main() {
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
err = database.Migrate(context.Background(), "postgres", db)
|
||||
err = database.Migrate(context.Background(), db)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user