CREATE TABLE myschema."mytable" ( id INTEGER PRIMARY KEY NOT NULL ); The above query doesn't work. The regular expression should handle schema name separately and add it to track table api.