schema.sql amended