See what error you reported.
Under normal circumstances, there will be no problem if two fields in one table are foreign key related to the same field in another table at the same time.
Unless the user_id in your fans table, the data type or size of the fans_id field does not match the id field of the user table; or the foreign key names are the same...
See what error you reported.
Under normal circumstances, there will be no problem if two fields in one table are foreign key related to the same field in another table at the same time.
Unless the user_id in your fans table, the data type or size of the fans_id field does not match the id field of the user table; or the foreign key names are the same...