From 9970838b5c1b822e49fe0bbdbb715c232cffe318 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Tue, 19 May 2020 10:14:48 -0400 Subject: [PATCH] sqlExport: Fix name of property on member, add essential business self-cert I used the old name, instead of the new name... --- memberPlumbing/mw_models.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/memberPlumbing/mw_models.py b/memberPlumbing/mw_models.py index f2a0005..f6053b4 100644 --- a/memberPlumbing/mw_models.py +++ b/memberPlumbing/mw_models.py @@ -101,8 +101,9 @@ class Member(BaseModel): access_permitted_shops_during_extended_hours = BooleanField( column_name="Access Permitted Shops During Extended Hours?", null=True ) - access_permitted_during_limited_operations = BooleanField( - column_name="Access Permitted During Limited Operations", null=True + normal_access_permitted_during_covid19_limited_operations = BooleanField( + column_name="Normal Access Permitted During COVID-19 Limited Operations", + null=True, ) access_permitted_during_covid19_staffed_period_only = BooleanField( column_name="Access Permitted During COVID-19 Staffed Period Only", null=True @@ -173,12 +174,17 @@ class Member(BaseModel): liability_form_filled_out = BooleanField( column_name="Liability Form Filled Out", null=True ) + self_certify_essential_business = BooleanField( + column_name="selfCertifyEssentialBusiness", null=True + ) _csv_headers_override = { "Account ID": "uid", "Please tell us how you heard about the Claremont MakerSpace and what tools or shops you are most excited to start using:": "how_did_you_hear", "Yes - I authorize TwinState MakerSpaces, Inc. to charge my credit card for the membership and other options that I have selected.": "authorize_charge", "I have read the Claremont MakerSpace Membership Agreement & Policies, and agree to all terms stated therein.": "policy_agreement", + "Access Permitted Using Membership Level Schedule During COVID-19 Limited Operations": "normal_access_permitted_during_covid19_limited_operations", + "I hereby certify that I am involved in Essential Business as defined by the State of New Hampshire and that I will follow the practices identified in the State of New Hampshire Exhibit C to Emergency Order #40 (Section E. Manufacturing).": "self_certify_essential_business", } _date_fields = {