Fix syntax errors in schema.sql