chop-dbhi / omop_harvest

OMOP CDMV4 data model with OSIM2 data in Harvest
https://eig.research.chop.edu/omop/
Other
5 stars 3 forks source link

manage.py syncdb command does not sync django models #26

Closed hassanNS closed 10 years ago

hassanNS commented 10 years ago

./bin/manage.py syncdb should automatically sync all models declared in conf/model.py. this is not the case. The only things synced are: screenshot from 2014-07-21 15 58 59

gracebrownecodes commented 10 years ago

Actually, the models in this app are not intended to be used as tools for managing the database. In other words, since the app is using a pre-existing data model (OMOP), the database setup occurs in two steps:

  1. Running the OMOP DDL scripts
  2. Using syncdb and south to add the harvest/django tables
hassanNS commented 10 years ago

Ah. Thanks for the clarification

gracebrownecodes commented 10 years ago

Closing.

lcdavidson commented 10 years ago

Thanks for clarification.