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
The current Admin schema in our project could benefit from several enhancements to improve data integrity, security, and performance. Here are proposed changes to make the schema more robust:
Add timestamps: Automatically include createdAt and updatedAt fields to track record creation and updates.
Add trim to String fields: Removes unnecessary whitespace from user inputs for name, facultyid, email, etc.
Set required fields: Enforce mandatory fields like name, email, facultyid, and password for data consistency.
Add unique constraints: Ensure that facultyid and email are unique to prevent duplicate entries. (4th is optional)
The text was updated successfully, but these errors were encountered:
The current Admin schema in our project could benefit from several enhancements to improve data integrity, security, and performance. Here are proposed changes to make the schema more robust:
The text was updated successfully, but these errors were encountered: