SSP-1610 Fix student_type code column creation

The 000055 changeset assumed name was being used like code and was less than 10 chars. When it was over 10 chars it failed. This fix skips that changset and implements a new changset that uses the rightmost chars from the id field with an imposed limit of 10 chars.