You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1st) Migration failed because key types were not exactly the same (key and foreighn key).
Had to set correct type: ALTER TABLEtbl_auth_assignmentCHANGEuser_iduser_idint(11) NOT NULL AFTERitem_name;
2nd) Query failed because it was trying to compare keys with different collations, utf8_general and utf8_unicode. Fixed by casting to same type: ALTER TABLEauth_item_groupCHANGEcodecodevarchar(64) COLLATE 'utf8_unicode_ci' NOT NULL FIRST, CHANGEnamenamevarchar(255) COLLATE 'utf8_unicode_ci' NOT NULL AFTERcode;
The text was updated successfully, but these errors were encountered:
Just had two errors:
1st) Migration failed because key types were not exactly the same (key and foreighn key).
user_id
Had to set correct type:
ALTER TABLE
tbl_auth_assignmentCHANGE
user_idint(11) NOT NULL AFTER
item_name;
2nd) Query failed because it was trying to compare keys with different collations, utf8_general and utf8_unicode. Fixed by casting to same type:
code
name
ALTER TABLE
auth_item_groupCHANGE
codevarchar(64) COLLATE 'utf8_unicode_ci' NOT NULL FIRST, CHANGE
namevarchar(255) COLLATE 'utf8_unicode_ci' NOT NULL AFTER
code;
The text was updated successfully, but these errors were encountered: