Fix the schema issues to actually work with the code...

The case was off and several columns were not being created when using the schema for SQL. I updated it to match the postgresql schema. Fixes issues people are discussing in #9