Add order, type and alternative label columns to db definition.