fix(gitignore): allow ent/schema/ directory
This commit is contained in:
18
ent/schema/permission.go
Normal file
18
ent/schema/permission.go
Normal file
@@ -0,0 +1,18 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user