Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
Fix to sync perms with the time (#145)
Browse files Browse the repository at this point in the history
* Add the synced_at field to Perm

* Fix to compare by synced_at when it deletes

* Fix to set synced_at when it syncs
  • Loading branch information
Noah Hanjun Lee authored Oct 4, 2021
1 parent 2035ca1 commit 793f710
Show file tree
Hide file tree
Showing 19 changed files with 474 additions and 52 deletions.
11 changes: 6 additions & 5 deletions ent/migrate/schema.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

80 changes: 78 additions & 2 deletions ent/mutation.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 11 additions & 1 deletion ent/perm.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions ent/perm/perm.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

97 changes: 97 additions & 0 deletions ent/perm/where.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions ent/perm_create.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 793f710

Please sign in to comment.