fix(gitignore): allow ent/schema/ directory
This commit is contained in:
19
ent/schema/auditlog.go
Normal file
19
ent/schema/auditlog.go
Normal file
@@ -0,0 +1,19 @@
|
||||
// Package schema defines the Ent schema for audit log entities.
|
||||
package schema
|
||||
|
||||
import "entgo.io/ent"
|
||||
|
||||
// AuditLog holds the schema definition for the AuditLog entity.
|
||||
type AuditLog struct {
|
||||
ent.Schema
|
||||
}
|
||||
|
||||
// Fields of the AuditLog.
|
||||
func (AuditLog) Fields() []ent.Field {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Edges of the AuditLog.
|
||||
func (AuditLog) Edges() []ent.Edge {
|
||||
return nil
|
||||
}
|
||||
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
|
||||
}
|
||||
18
ent/schema/role.go
Normal file
18
ent/schema/role.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package schema
|
||||
|
||||
import "entgo.io/ent"
|
||||
|
||||
// Role holds the schema definition for the Role entity.
|
||||
type Role struct {
|
||||
ent.Schema
|
||||
}
|
||||
|
||||
// Fields of the Role.
|
||||
func (Role) Fields() []ent.Field {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Edges of the Role.
|
||||
func (Role) Edges() []ent.Edge {
|
||||
return nil
|
||||
}
|
||||
18
ent/schema/user.go
Normal file
18
ent/schema/user.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package schema
|
||||
|
||||
import "entgo.io/ent"
|
||||
|
||||
// User holds the schema definition for the User entity.
|
||||
type User struct {
|
||||
ent.Schema
|
||||
}
|
||||
|
||||
// Fields of the User.
|
||||
func (User) Fields() []ent.Field {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Edges of the User.
|
||||
func (User) Edges() []ent.Edge {
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user