Hello.
I do not understand why this error. The code is apparently correct.
Follow error print:
The user table fields are:
table users id, name, email, password. In the Expense table you have the primary key of the user fk_id_user references users (id). I do not understand errors of this type!