Worked on home dashboard

This commit is contained in:
Torkel Ödegaard
2015-02-03 15:04:35 +01:00
parent bd470abcf0
commit 42a5aefb23
6 changed files with 46 additions and 6 deletions
+2 -2
View File
@@ -15,8 +15,8 @@ var (
type Dashboard struct {
Id int64
Slug string `xorm:"index(IX_AccountIdSlug)"`
AccountId int64 `xorm:"index(IX_AccountIdSlug)"`
Slug string
AccountId int64
Created time.Time
Updated time.Time
+14
View File
@@ -0,0 +1,14 @@
package models
import "time"
type HomeDashboard struct {
Id int64
UserId int64
AccountId int64
Created time.Time
Updated time.Time
Data map[string]interface{}
}