Schema files are source code and should be committed. Only generated files in ent/ should be ignored.
19 lines
314 B
Go
19 lines
314 B
Go
package schema
|
|
|
|
import "entgo.io/ent"
|
|
|
|
// Permission holds the schema definition for the Permission entity.
|
|
type Permission struct {
|
|
ent.Schema
|
|
}
|
|
|
|
// Fields of the Permission.
|
|
func (Permission) Fields() []ent.Field {
|
|
return nil
|
|
}
|
|
|
|
// Edges of the Permission.
|
|
func (Permission) Edges() []ent.Edge {
|
|
return nil
|
|
}
|