Updating table engines. Adding foreign keys to assigned_roles table