Remove double user field

This commit is contained in:
kolaente 2020-02-08 22:12:06 +01:00
parent db2d868eed
commit d84a160054
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -20,7 +20,6 @@ import (
"code.vikunja.io/api/pkg/config" "code.vikunja.io/api/pkg/config"
"code.vikunja.io/api/pkg/db" "code.vikunja.io/api/pkg/db"
"code.vikunja.io/api/pkg/log" "code.vikunja.io/api/pkg/log"
"code.vikunja.io/api/pkg/user"
_ "github.com/go-sql-driver/mysql" // Because. _ "github.com/go-sql-driver/mysql" // Because.
"github.com/go-xorm/xorm" "github.com/go-xorm/xorm"
@ -34,7 +33,6 @@ var (
// GetTables returns all structs which are also a table. // GetTables returns all structs which are also a table.
func GetTables() []interface{} { func GetTables() []interface{} {
return []interface{}{ return []interface{}{
&user.User{},
&List{}, &List{},
&Task{}, &Task{},
&Team{}, &Team{},