Upgrades postgresql schema to match latest mysql schema.
Changes references to schema-11.sql to schema-12.sql