ForeignKeys are added after all tables are created
Added foreign keys at the end
Merge pull request #1 from bibstha/schema-dump

Schema dump