moving stuff around

This commit is contained in:
tsmethurst 2021-09-01 18:29:25 +02:00
commit 4696e1a7b3
93 changed files with 878 additions and 1750 deletions

View file

@ -86,6 +86,9 @@ func doMigration(ctx context.Context, db *bun.DB, log *logrus.Logger) error {
group, err := migrator.Migrate(ctx)
if err != nil {
if err.Error() == "migrate: there are no any migrations" {
return nil
}
return err
}