Update db/schema with new syntax
Merge pull request #200 from maddentim/fixes-general

Fix for #1440 Update db/schema with new syntax