Fix column foreign key data type

make client_id in access_token and approved_site_scope,
whitelisted_site_id in approved_site the same type at the key they
refer to.
modify foreign key column types