Add database constraints for Mattermost Slash Commands fields
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
Description:
Add database-level constraints to Mattermost Slash Commands integration fields to match the existing model validations and ensure data integrity.
Implementation Details:
- Add length constraints to the
chat_namestable. - Need to investigate the appropriate length limits - these should align with what's currently enforced in the ChatName model validations
- This provides an additional layer of data validation at the database level
Acceptance Criteria:
- Create migration to add length constraints to the specified columns
- Ensure constraints align with model validation limits
- Test that the constraints work as expected for new and existing records
Edited by 🤖 GitLab Bot 🤖