fpdcc / ccfp-asset-dashboard

CCFP Asset Dashboard
0 stars 1 forks source link

Check that all GIS model relationships are still valid #243

Closed smcalilly closed 11 months ago

smcalilly commented 1 year ago

From PR #242:

We need to make sure other tables haven't changed.

Here's the latest schema diagram:

quercus-6-22-2023
smcalilly commented 11 months ago

@xmedr make sure the relationships between the tables in the schema match the model relationships for our current GIS models. we only need it for the models listed here: https://github.com/fpdcc/ccfp-asset-dashboard/blob/master/asset_dashboard/endpoints.py#L65

you should be able to follow the table names within those models and find the matching tables in this schema above. then, if the table has a relationship with another table, you should be able to link the model relationships.

xmedr commented 11 months ago

@smcalilly Looks mostly good. I checked the fields and relationships for each, and saw some differences that may or may not be relevant:

smcalilly commented 11 months ago

@xmedr perfect, thanks!