From c6144ab31025f65e963b8a80a85d5c3d7deb0c0f Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Mon, 12 Jun 2023 20:38:12 -0500 Subject: [PATCH] Add note about `meminfo.email_2` field, aka. "alt. phone" --- corepos/db/office_op/model.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/corepos/db/office_op/model.py b/corepos/db/office_op/model.py index 9ec20d2..7328525 100644 --- a/corepos/db/office_op/model.py +++ b/corepos/db/office_op/model.py @@ -1263,7 +1263,10 @@ class MemberInfo(Base): email = sa.Column('email_1', sa.String(length=50), nullable=True) - email2 = sa.Column('email_2', sa.String(length=50), nullable=True) + email2 = sa.Column('email_2', sa.String(length=50), nullable=True, doc=""" + NB. this is labeled "Alt. Phone" in CORE Office member view, and + is named `altPhone` when dealing with CORE Office webservices API. + """) ads_ok = sa.Column('ads_OK', sa.Boolean(), nullable=True, default=True)