migrations for user_id foreign key