Police-Data-Accessibility-Project / data-sources-app

An API and UI for using and maintaining the Data Sources database
MIT License
4 stars 5 forks source link

Remove `data_sources.record_type` column and refactor code to point to `data_sources.record_type_id` #354

Open maxachis opened 4 months ago

maxachis commented 4 months ago

Dependent on the completion of #352

The changes in the above issue (at least at the time of this writing), involve adding a record_type_id column in the data_sources table which references the record_types table. However, the record_type column currently still persists, existing of necessity for backwards compatibility with the Data Sources Mirror and other code. To keep things clean, we'll want to get rid of the record_type column and adjust all code which references it to refer to the record_types table instead.

maxachis commented 2 days ago

Moved to post-v2 so that we can handle once Data Sources Mirror is done!