mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
chore: change info message in migration (resolve #128)
This commit is contained in:
parent
c149766ecc
commit
56800be8e8
@ -37,11 +37,8 @@ func init() {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
// do not drop column for sqlite, fixes #128:
|
|
||||||
// [ERROR] migration '20210206_drop_badges_column_add_sharing_flags' failed – table users already exists
|
|
||||||
// https://stackoverflow.com/a/8442173
|
|
||||||
if cfg.Db.Dialect == config.SQLDialectSqlite {
|
if cfg.Db.Dialect == config.SQLDialectSqlite {
|
||||||
logbuch.Info("not attempting to drop and regenerate constraints on sqlite")
|
logbuch.Info("not attempting to drop column 'badges_enabled' on sqlite")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user