Working dbschema - creates flat schemas