schema/mixin: add privacy policy to mixin (#821)

This commit is contained in:
Ariel Mashraki
2020-10-06 10:59:36 +03:00
committed by GitHub
parent a341a91f4c
commit d5ae1b018e
81 changed files with 9834 additions and 4904 deletions

View File

@@ -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)