Model methods return db objects
Review models
- Add unique field constrains
- abstract class since the shared method ended up in a single class (provinces)
- Make all model methods that get elements from DB to retrieve objects, not fields as strings
- Clean donorOperator.csv to keep only operators known by SC
- Region table must always be filled before the Province one, because provinces have a foreign key field with Region (strict dependency)
Edited by Administrator