diff --git a/corepos/db/office_op/model.py b/corepos/db/office_op/model.py index 574e42b..40c3b69 100644 --- a/corepos/db/office_op/model.py +++ b/corepos/db/office_op/model.py @@ -142,14 +142,11 @@ class Vendor(Base): vendorID = sa.Column(sa.Integer(), primary_key=True, autoincrement=False, nullable=False) id = orm.synonym('vendorID') - vendorName = sa.Column(sa.String(length=50), nullable=True) - name = orm.synonym('vendorName') + name = sa.Column('vendorName', sa.String(length=50), nullable=True) - vendorAbbreviation = sa.Column(sa.String(length=10), nullable=True) - abbreviation = orm.synonym('vendorAbbreviation') + abbreviation = sa.Column('vendorAbbreviation', sa.String(length=10), nullable=True) - discountRate = sa.Column(sa.Float(), nullable=True) - discount_rate = orm.synonym('discountRate') + discount_rate = sa.Column('discountRate', sa.Float(), nullable=True) contact = orm.relationship( 'VendorContact',