--add ad_subst_fc to ad_subst to create contour intersections
INSERT INTO attributes VALUES
    (901, hstore(ARRAY[['cat:ad_subst_fc','1']]));

INSERT INTO attributes VALUES
    (905, hstore(ARRAY[
     ['rel:role','part'],
     ['rel:slave','ad_el'],
     ['rel:master','ad_subst_fc']]));
INSERT INTO attributes VALUES
    (910, hstore(ARRAY[
     ['rel:role','part'],
     ['rel:slave','ad_subst_fc'],
     ['rel:master','ad_subst']]));

INSERT INTO object_revision (object_id, commit_id, prev_commit_id, deleted, geometry_id, attributes_id, description_id, master_object_id, slave_object_id) VALUES
    (1000000, 1, 0, false, 0, 901, 0, 0, 0),
    (1000005, 1, 0, false, 0, 905, 0, 1000000, 10),
    (1000010, 1, 0, false, 0, 905, 0, 1000000, 11),
    (1000015, 1, 0, false, 0, 910, 0, 2000, 1000000);
