when a foreign column create it must have same type table a id => unsigned and integer table b parent (foreign key with table a) parent => integer *** parent must **unsignedInteger**