Use SQL expressions to set url_id in the db.