You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, there are no foreign key constraints added in the backend datastores' schemas. Probably we can consider adding some foreign keys in the users and includegroups tables. Take an example in the PostgreSQL backend:
This allows us to update necessary fields in users and includegroups tables whenever there is a change in group's gidNumber to not violate the data integrity.
And also we can evaluate if we need to add similar things for group deletion operations.
Currently, there are no foreign key constraints added in the backend datastores' schemas. Probably we can consider adding some foreign keys in the
users
andincludegroups
tables. Take an example in the PostgreSQL backend:This allows us to update necessary fields in
users
andincludegroups
tables whenever there is a change in group'sgidNumber
to not violate the data integrity.And also we can evaluate if we need to add similar things for group deletion operations.
There might be additional actions required for some other databases: it seems users need to enable foreign key support in SQLite: https://www.sqlite.org/foreignkeys.html#fk_enable
The text was updated successfully, but these errors were encountered: