before user_id migration