reduce schema.sql