Add additional attributes to a database row