Fix for user_id in primary key constraint.