From d21346bbffb618594d630e5230589c69839c2891 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 15 Jan 2025 14:48:18 -0600 Subject: [PATCH] fix: fix ordering of name columns for MemberInfo so they show up correctly by default e.g. in UI --- corepos/db/office_op/model.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/corepos/db/office_op/model.py b/corepos/db/office_op/model.py index 4d79e88..ff3f493 100644 --- a/corepos/db/office_op/model.py +++ b/corepos/db/office_op/model.py @@ -1259,14 +1259,14 @@ class MemberInfo(Base): card_number = sa.Column('card_no', sa.Integer(), primary_key=True, autoincrement=False, nullable=False) - last_name = sa.Column(sa.String(length=30), nullable=True) - first_name = sa.Column(sa.String(length=30), nullable=True) - other_last_name = sa.Column('othlast_name', sa.String(length=30), nullable=True) + last_name = sa.Column(sa.String(length=30), nullable=True) other_first_name = sa.Column('othfirst_name', sa.String(length=30), nullable=True) + other_last_name = sa.Column('othlast_name', sa.String(length=30), nullable=True) + street = sa.Column(sa.String(length=255), nullable=True) city = sa.Column(sa.String(length=20), nullable=True)