biocore/american-gut-web — pull request #174 by adamrp (2014-10-03 01:53:12+00:00)
Title: Generate db init

Adds the database structures to store surveys, and adds initialization for the surveys. The init of the survey does not include the personal prompt questions or the supplemental questions, although all questions are inserted into the questions table.

The initialization sql statements were generated using [this gist](https://gist.github.com/adamrp/75e51185460306df0e8c), which works by reverse-engineering the python structures we were originally using exclusively.

Instead, those structures will be generated (specific to the locale) based on the database information.