Repository navigation
country_code is defined as NOT NULL, yet INSERT lacks a value! - #15349
Conversation
There was a problem hiding this comment.
@johnkershaw I will merge this immediately if you add your signoff line (you can send it as a comment here)
And BTW you can rename all TYPE= to ENGINE= :)
|
This pull requests contains too many commits, in most cases it is caused by wrong merge target. In case you have forked |
|
This change can go in to QA_4_9. William, I'd suggest merging it to your own repository, then cherry-picking that commit in to your QA_4_9 branch. You can then merge QA_4_9 into master. Probably like this: Note that the commit ID will change after John fixes the signoff line, so you'll need to substitute the correct ID there instead. |
|
Signed-off-by: John Kershaw [email protected] |
|
Ah, yes, I had to delete all the references to TYPE= to get it to work (I was testing on db4free.com as a prelude to a unit I'm teaching on databases this semester). |
Without a country_code for 'Marc' the second step will fail (cannot relate country_code in REL_persons to country_code in REL_countries if the REL_persons record has no value for country_code). Since this is the whole point of this example it's going to trip people up who're trying to set up relations in phpMyAdmin (like me!) Co-authored-by: William Desportes <[email protected]> Signed-off-by: John Kershaw <[email protected]> Signed-off-by: William Desportes <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #15349 +/- ##
============================================
+ Coverage 52.89% 52.92% +0.02%
- Complexity 14035 14039 +4
============================================
Files 481 481
Lines 61889 61977 +88
============================================
+ Hits 32738 32801 +63
- Misses 29151 29176 +25 |
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #15349 +/- ##
============================================
+ Coverage 52.89% 52.92% +0.02%
- Complexity 14035 14039 +4
============================================
Files 481 481
Lines 61889 61977 +88
============================================
+ Hits 32738 32801 +63
- Misses 29151 29176 +25 |
…lacks a value! Signed-off-by: William Desportes <[email protected]>
|
Thanks @johnkershaw !
Have a good semester with your students :) Merged as 2637324 |
Without a country_code for 'Marc' the second step will fail (cannot relate country_code in REL_persons to country_code in REL_countries if the REL_persons record has no value for country_code).
Since this is the whole point of this example it's going to trip people up who're trying to set up relations in phpMyAdmin (like me!)
Description
Please describe your pull request.
Fixes #
Before submitting pull request, please review the following checklist:
Signed-off-byline as described in our DCO. This ensures that the work you're submitting is your own creation.