Commit Graph

3 Commits

Author SHA1 Message Date
Apoorv Mishra
a891b6b604 Add column id to user_permissions and group_permissions (#6181)
* fix: add column id to user_permissions and group_permissions

* fix: don't drop ext

* fix: put back default value
2023-11-21 13:16:57 +05:30
Tom Moor
5a89edbcb2 fix: withCollection scopes on UserPermission, GroupPermission 2023-09-27 23:08:06 -04:00
Apoorv Mishra
7145f7ef51 UserPermission and GroupPermission models (#5860)
* fix: rename to group_permissions

* fix: delete null collectionId records before setting non null constraint

* fix: use scope with collectionId not null

* fix: update model with documentId

* fix: rename to GroupPermission

* fix: rename collection_users to user_permissions

* fix: teamPermanentDeleter test

* fix: use scope with collectionId not null

* fix: update model with documentId

* fix: rename to UserPermission

* fix: create views upon table rename for zero downtime

* fix: remove comments
2023-09-25 10:51:29 +05:30