mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-07 19:08:08 -06:00
moving stuff around
This commit is contained in:
parent
684bd56528
commit
4696e1a7b3
93 changed files with 878 additions and 1750 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue