refactor - added explicit constraints #69

Merged
yara merged 3 commits from refactor/constraint_transactions into master 2026-03-19 23:05:15 +00:00
Member

impliment #68

impliment #68
yara scheduled this pull request to auto merge when all checks succeed 2026-03-19 22:31:23 +00:00
charlie approved these changes 2026-03-19 23:03:36 +00:00
Dismissed
charlie left a comment

I should have fixed all minor problems. should be good

I should have fixed all minor problems. should be good
@ -6,3 +6,3 @@
expirytime timestamp not null,
rotationtime timestamp null,
foreign key (userid) references users (userid)
constraint fk_user_status foreign key (userid) references users (userid)
Owner

should be fk_token_user

should be `fk_token_user`
@ -6,3 +6,1 @@
foreign key (matchid) references matches (matchid),
foreign key (teamid) references competitions_teams (teamid),
unique(matchid, teamid)
constraint fk_match_matches foreign key (matchid) references matches (matchid),
Owner

mt here not match

mt here not match
@ -7,2 +6,2 @@
foreign key (teamid) references competitions_teams (teamid),
unique(matchid, teamid)
constraint fk_match_matches foreign key (matchid) references matches (matchid),
constraint fk_match_ct foreign key (teamid) references competitions_teams (teamid),
Owner

same here

same here
charlie approved these changes 2026-03-19 23:05:14 +00:00
yara merged commit f951c23a77 into master 2026-03-19 23:05:15 +00:00
yara deleted branch refactor/constraint_transactions 2026-03-19 23:05:15 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ULFSII/phoenix_db!69
No description provided.