kids-first / kf-model-omop

💡 Kids First OMOP Common Data Model Experimentation
Apache License 2.0
1 stars 0 forks source link

✨ Auto-generate SQLAlchemy models #6

Closed znatty22 closed 5 years ago

znatty22 commented 5 years ago

Notes

* This is a temporary command that would likely go away if OMOP is adopted and proper migrations are used to update models.

* In future, change the way pg scripts are acquired. Rather than git cloning kids-first/CommonDataModel, modify CLI command to take in a OHDSI/CommonDataModel release tag which would govern which release of the OMOP schema to download. Can't do this right now because the release we need (v6.0.0) has bugs in it, which are fixed on kids-first/CommonDataModel master.