More work on collaborators, and sql store

This commit is contained in:
Torkel Ödegaard
2014-11-21 16:43:04 +01:00
parent 4eefa73441
commit f04932aa67
9 changed files with 177 additions and 24 deletions
+3 -1
View File
@@ -27,7 +27,7 @@ var (
)
func Init() {
tables = append(tables, new(models.Account), new(models.Dashboard))
tables = append(tables, new(models.Account), new(models.Dashboard), new(models.Collaborator))
models.CreateAccount = CreateAccount
models.GetAccount = GetAccount
@@ -36,6 +36,8 @@ func Init() {
models.SaveDashboard = SaveDashboard
models.SearchQuery = SearchQuery
models.DeleteDashboard = DeleteDashboard
models.GetCollaboratorsForAccount = GetCollaboratorsForAccount
models.AddCollaborator = AddCollaborator
}
func LoadModelsConfig() {