drop table if exists _region; drop table if exists _pattern; drop table if exists _curve; drop table if exists _link; drop table if exists _node; drop type if exists _curve_type; drop type if exists _link_type; drop type if exists _node_type;