mirror of
https://github.com/lejianwen/rustdesk-api.git
synced 2026-03-03 12:32:35 +00:00
add address book name &
add share address book
This commit is contained in:
@@ -101,7 +101,7 @@ func main() {
|
||||
}
|
||||
|
||||
func DatabaseAutoUpdate() {
|
||||
version := 235
|
||||
version := 240
|
||||
|
||||
db := global.DB
|
||||
|
||||
@@ -165,6 +165,8 @@ func Migrate(version uint) {
|
||||
&model.ShareRecord{},
|
||||
&model.AuditConn{},
|
||||
&model.AuditFile{},
|
||||
&model.AddressBookCollection{},
|
||||
&model.AddressBookCollectionRule{},
|
||||
)
|
||||
if err != nil {
|
||||
fmt.Println("migrate err :=>", err)
|
||||
|
||||
Reference in New Issue
Block a user