add initial application structure with configuration, logging, and health check endpoints
This commit is contained in:
@@ -2,6 +2,8 @@ package entity
|
||||
|
||||
import (
|
||||
"entgo.io/ent"
|
||||
"entgo.io/ent/dialect/entsql"
|
||||
"entgo.io/ent/schema"
|
||||
"entgo.io/ent/schema/field"
|
||||
)
|
||||
|
||||
@@ -9,8 +11,10 @@ type EpicI18NMappings struct {
|
||||
ent.Schema
|
||||
}
|
||||
|
||||
func (EpicI18NMappings) Table() string {
|
||||
return "epic_i18n_mappings"
|
||||
func (EpicI18NMappings) Annotations() []schema.Annotation {
|
||||
return []schema.Annotation{
|
||||
entsql.Annotation{Table: "epic_i18n_mappings"},
|
||||
}
|
||||
}
|
||||
|
||||
func (EpicI18NMappings) Fields() []ent.Field {
|
||||
|
||||
Reference in New Issue
Block a user