Initial work on seperation between user and account

This commit is contained in:
Torkel Ödegaard
2015-01-19 16:28:45 +01:00
parent d8e5be5782
commit f1996a9f1f
8 changed files with 212 additions and 4 deletions
+6 -1
View File
@@ -32,12 +32,17 @@ var (
UseSQLite3 bool
)
type TestTable struct {
Id1 int `xorm:"pk"`
Id2 int `xorm:"pk"`
}
func init() {
tables = make([]interface{}, 0)
tables = append(tables, new(m.Dashboard),
new(m.Collaborator), new(m.DataSource), new(DashboardTag),
new(m.Token))
new(m.Token), new(TestTable))
}
func EnsureAdminUser() {