canvas-lms/db
Zach Pendleton 05cabac7b3 fix creating user with no sis_user_id. fixes #6872
admin can now create user with no sis_user_id without receiving
an error about the sis id already existing.

also includes a migration to set all empty string sis_user_ids to
NULL.

test plan:
  * enable sis imports on an account;
  * as an admin in that account, create a new user, leaving the
    sis id blank;
  * create a second new user, also with a blank sis id;
  * verify that the second user is creating without any errors.

test plan:

Change-Id: Ia247c58e0070a4b02ecc584c18ed20bb5c05dcd3
Reviewed-on: https://gerrit.instructure.com/8665
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
2012-02-20 12:05:25 -07:00
..
migrate fix creating user with no sis_user_id. fixes #6872 2012-02-20 12:05:25 -07:00