mirror of
https://github.com/lejianwen/rustdesk-api.git
synced 2026-02-17 14:04:51 +08:00
feat(api): Add device group for 1.3.8
This commit is contained in:
@@ -166,7 +166,7 @@ func InitGlobal() {
|
||||
global.Lock = lock.NewLocal()
|
||||
}
|
||||
func DatabaseAutoUpdate() {
|
||||
version := 261
|
||||
version := 262
|
||||
|
||||
db := global.DB
|
||||
|
||||
@@ -251,6 +251,7 @@ func Migrate(version uint) {
|
||||
&model.AddressBookCollection{},
|
||||
&model.AddressBookCollectionRule{},
|
||||
&model.ServerCmd{},
|
||||
&model.DeviceGroup{},
|
||||
)
|
||||
if err != nil {
|
||||
global.Logger.Error("migrate err :=>", err)
|
||||
|
||||
Reference in New Issue
Block a user