add transaction tag index

This commit is contained in:
MaysWind
2020-12-13 23:58:20 +08:00
parent d46307de07
commit 45b1cf0176
10 changed files with 271 additions and 19 deletions
+8
View File
@@ -107,5 +107,13 @@ func updateAllDatabaseTablesStructure() error {
log.BootInfof("[database.updateAllDatabaseTablesStructure] transaction tag table maintained successfully")
}
err = datastore.Container.UserDataStore.SyncStructs(new(models.TransactionTagIndex))
if err != nil {
return err
} else {
log.BootInfof("[database.updateAllDatabaseTablesStructure] transaction tag index table maintained successfully")
}
return nil
}