-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix postgres down migrations. (#276)
- Loading branch information
1 parent
18e2efa
commit 350a976
Showing
3 changed files
with
9 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
package migrate | ||
|
||
import "github.com/golang/glog" | ||
|
||
// LoadMigrations forces Go to call init() on all the files in this package. | ||
// The library we use for migrations, go-pg-migrations, needs to be refactored to | ||
// not use this terrible loading pattern. It's hard to test, can cause weird side effects, | ||
// and is the reason we need this weird LoadMigrations method | ||
func LoadMigrations() { | ||
glog.Info("Loading all migrations...") | ||
} |