Worked on home dashboard
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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{}
|
||||
}
|
||||
Reference in New Issue
Block a user