Skip to content

Commit

Permalink
Fix migration for vrpLogs_ChatReceivers
Browse files Browse the repository at this point in the history
The FK was incorrect `vrpLogs_chat` vs `vrpLogs_Chat` which causes issues on linux (which is case sensitive). Issue #1
  • Loading branch information
MegaThorx authored Jul 7, 2023
1 parent fecf235 commit 5f0225a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vrp/tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ CREATE TABLE IF NOT EXISTS `vrpLogs_ChatReceivers` (
PRIMARY KEY (`MessageId`,`Receiver`) USING BTREE,
KEY `vrpLogs_ChatReceivers_vrpLogs_Chat_ID_fk` (`MessageId`) USING BTREE,
KEY `Receiver` (`Receiver`) USING BTREE,
CONSTRAINT `vrpLogs_ChatReceivers_vrpLogs_Chat_ID_fk` FOREIGN KEY (`MessageId`) REFERENCES `vrpLogs_chat` (`ID`)
CONSTRAINT `vrpLogs_ChatReceivers_vrpLogs_Chat_ID_fk` FOREIGN KEY (`MessageId`) REFERENCES `vrpLogs_Chat` (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;


Expand Down

0 comments on commit 5f0225a

Please sign in to comment.