Add the event service
This commit is contained in:
@@ -12,6 +12,7 @@ import (
|
||||
"entgo.io/ent"
|
||||
"entgo.io/ent/dialect/sql"
|
||||
"entgo.io/ent/dialect/sql/sqlgraph"
|
||||
"git.gorlug.de/code/ersteller/schema/ent/event"
|
||||
"git.gorlug.de/code/ersteller/schema/ent/generalqueue"
|
||||
"git.gorlug.de/code/ersteller/schema/ent/generalqueuestate"
|
||||
)
|
||||
@@ -74,6 +75,7 @@ var (
|
||||
func checkColumn(t, c string) error {
|
||||
initCheck.Do(func() {
|
||||
columnCheck = sql.NewColumnCheck(map[string]func(string) bool{
|
||||
event.Table: event.ValidColumn,
|
||||
generalqueue.Table: generalqueue.ValidColumn,
|
||||
generalqueuestate.Table: generalqueuestate.ValidColumn,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user