SSP-1813 Reassert non-nullable columns in external_student_test

This really just addresses an edge case in some existing installs
which explicitly skipped creation of the pre-discriminator key for
this table due to existing data.