By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Records: 0 Duplicates: 0 Warnings: 0
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tr_ad_update_team_size AFTER DELETE ON team_member FOR EACH ROW BEGIN UPDATE' at line 1
id | team_id | member_id | id | name | member_count | member_limit |
---|---|---|---|---|---|---|
1 | 1 | 1 | 1 | Team 1 | 3 | 3 |
2 | 1 | 2 | 1 | Team 1 | 3 | 3 |
3 | 1 | 3 | 1 | Team 1 | 3 | 3 |
Check constraint 'enforce_team_member_limit' is violated.
Check constraint 'enforce_team_member_limit' is violated.