diff --git a/pkg/migration/20210711173657.go b/pkg/migration/20210711173657.go index a23f08e0..f5e67a6a 100644 --- a/pkg/migration/20210711173657.go +++ b/pkg/migration/20210711173657.go @@ -50,6 +50,8 @@ func init() { ID: "20210711173657", Description: "Add user tokens table", Migrate: func(tx *xorm.Engine) error { + _ = tx.DropTables(&userTokens20210711173657{}) // Allow running this migration multiple times + err := tx.Sync2(userTokens20210711173657{}) if err != nil { return err