Timeline for Unsure how to implement certain constraints and relations in this relational database schema
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 8, 2014 at 23:32 | vote | accept | newprint | ||
Mar 8, 2014 at 23:32 | |||||
Apr 19, 2013 at 23:35 | comment | added | Mike Sherrill 'Cat Recall' | MySQL doesn't enforce CHECK() constraints. Sometimes, you can replace a CHECK() constraint with a foreign key constraint. (But not this time.) The only practical way to implement "arrival city is different from departure city" in MySQL is with a trigger. | |
Apr 18, 2013 at 6:32 | history | migrated | from stackoverflow.com (revisions) | ||
Apr 18, 2013 at 6:04 | history | answered | James K. Lowden | CC BY-SA 3.0 |