Update .gitignore to allow ent/schema/ directory
Some checks failed
CI / Format Check (pull_request) Failing after 1s
CI / Test (pull_request) Failing after 45s
CI / Lint (pull_request) Failing after 4s
CI / Build (pull_request) Failing after 9s

Schema files are source code and should be committed.
Only generated files in ent/ should be ignored.
This commit is contained in:
2025-11-07 08:42:06 +01:00
parent 410fae5922
commit 42b53b56cc
5 changed files with 77 additions and 2 deletions

18
ent/schema/permission.go Normal file
View 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
}