Open avaleske opened 2 years ago
Context on the import script: I think this will involve updating the not-yet-created script that's scoped in #567 (since the property manager survey is where we have asked for the structured accessibility data). Since the accessibility features are stored in a separate tables (from listings
), we'll need the ability to look them up via the backend. We can follow the pattern that we currently have for e.g. unit types: https://github.com/CityOfDetroit/bloom/blob/4951d9f715afbe1d4b6d4f0d4a669c786dec174c/backend/core/scripts/listings-importer.ts#L71-L91.
Once we have the database support for structured accessibility data, which is added in #609, we'll need to update the import script to add it.
Done: The import script sets the new structured accessibility data fields.
@anders-schneider can you add more context on the import script?