Re-ordered the table creation in the schema file so references work correctly.
Merge pull request #505 from danielolson5/develop

Re-ordered the table creation in the schema file so references work corr...