SELECT vrevisions.for_vrevisions('
    CREATE INDEX objects_a7_the_geom_center_domain_service_attrs_idx
        ON objects_a7
        USING gist (the_geom, the_center, domain_attrs, service_attrs);

    CREATE INDEX objects_a8_the_geom_center_domain_service_attrs_idx
        ON objects_a8
        USING gist (the_geom, the_center, domain_attrs, service_attrs);

    CREATE INDEX objects_a10_the_geom_center_domain_service_attrs_idx
        ON objects_a10
        USING gist (the_geom, the_center, domain_attrs, service_attrs);

    CREATE INDEX objects_a12_the_geom_center_domain_service_attrs_idx
        ON objects_a12
        USING gist (the_geom, the_center, domain_attrs, service_attrs);

    CREATE INDEX objects_a14_the_geom_center_domain_service_attrs_idx
        ON objects_a14
        USING gist (the_geom, the_center, domain_attrs, service_attrs);

    CREATE INDEX objects_a16_the_geom_center_domain_service_attrs_idx
        ON objects_a16
        USING gist (the_geom, the_center, domain_attrs, service_attrs);


    DROP INDEX IF EXISTS objects_a7_domain_attrs_gist;
    DROP INDEX IF EXISTS objects_a7_service_attrs_gist;
    DROP INDEX IF EXISTS objects_a7_the_center_index;
    DROP INDEX IF EXISTS objects_a7_the_geom_domain_attrs_index;

    DROP INDEX IF EXISTS objects_a8_domain_attrs_gist;
    DROP INDEX IF EXISTS objects_a8_service_attrs_gist;
    DROP INDEX IF EXISTS objects_a8_the_center_index;
    DROP INDEX IF EXISTS objects_a8_the_geom_domain_attrs_index;

    DROP INDEX IF EXISTS objects_a10_domain_attrs_gist;
    DROP INDEX IF EXISTS objects_a10_service_attrs_gist;
    DROP INDEX IF EXISTS objects_a10_the_center_index;
    DROP INDEX IF EXISTS objects_a10_the_geom_domain_attrs_index;

    DROP INDEX IF EXISTS objects_a12_domain_attrs_gist;
    DROP INDEX IF EXISTS objects_a12_service_attrs_gist;
    DROP INDEX IF EXISTS objects_a12_the_center_index;
    DROP INDEX IF EXISTS objects_a12_the_geom_domain_attrs_index;

    DROP INDEX IF EXISTS objects_a14_domain_attrs_gist;
    DROP INDEX IF EXISTS objects_a14_service_attrs_gist;
    DROP INDEX IF EXISTS objects_a14_the_center_index;
    DROP INDEX IF EXISTS objects_a14_the_geom_domain_attrs_index;

    DROP INDEX IF EXISTS objects_a16_domain_attrs_gist;
    DROP INDEX IF EXISTS objects_a16_service_attrs_gist;
    DROP INDEX IF EXISTS objects_a16_the_center_index;
    DROP INDEX IF EXISTS objects_a16_the_geom_domain_attrs_index;
');
