Skip to content
Snippets Groups Projects
Verified Commit 1721b694 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

fix: don't error when fully migrated

parent cf0764e2
No related branches found
No related tags found
No related merge requests found
Pipeline #2842 passed
......@@ -17,5 +17,8 @@ func Migrate(db *sql.DB) error {
if err != nil {
return err
}
return migrations.Up()
if err := migrations.Up(); err != migrate.ErrNoChange {
return err
}
return nil
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment