Feat v0.6.3 dead code sweep (#38)
All checks were successful
All checks were successful
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com> Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
This commit was merged in pull request #38.
This commit is contained in:
@@ -19,7 +19,7 @@ func SchemaVersion() string { return schemaVersion }
|
||||
// Migrate runs all pending migrations for the current dialect.
|
||||
// Migration files live in migrations/<dialect>/ subdirectories.
|
||||
// Falls back to the root migrations/ directory if no subdirectory exists
|
||||
// (backward compatible with pre-v0.17.1 postgres-only layouts).
|
||||
// (backward compatible with postgres-only layouts).
|
||||
func Migrate() error {
|
||||
if DB == nil {
|
||||
return fmt.Errorf("database not connected")
|
||||
|
||||
Reference in New Issue
Block a user