mirror of
https://github.com/h44z/wg-portal.git
synced 2025-11-19 23:36:18 +00:00
peer expiry feature: database model, frontend updates
This commit is contained in:
@@ -36,6 +36,14 @@ func init() {
|
||||
return nil
|
||||
},
|
||||
})
|
||||
|
||||
migrations = append(migrations, Migration{
|
||||
version: "1.0.9",
|
||||
migrateFn: func(db *gorm.DB) error {
|
||||
logrus.Infof("upgraded database format to version 1.0.9")
|
||||
return nil
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
type SupportedDatabase string
|
||||
|
||||
Reference in New Issue
Block a user