mirror of
https://github.com/ent/ent.git
synced 2026-03-05 19:35:23 +03:00
schema/mixin: add privacy policy to mixin (#821)
This commit is contained in:
@@ -33,6 +33,9 @@ func (Schema) Indexes() []ent.Index { return nil }
|
||||
// Hooks of the mixin.
|
||||
func (Schema) Hooks() []ent.Hook { return nil }
|
||||
|
||||
// Policy of the mixin.
|
||||
func (Schema) Policy() ent.Policy { return nil }
|
||||
|
||||
// time mixin must implement `Mixin` interface.
|
||||
var _ ent.Mixin = (*Schema)(nil)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user