CREATE SCHEMA road_graph;

-- peristent_edge_id is taken from the the static graph's persistent index.
CREATE TABLE road_graph.covered_edge (
    persistent_edge_id text PRIMARY KEY,
    coverage_fraction real NOT NULL,
    actualization_date timestamp with time zone NOT NULL,
    CONSTRAINT coverage_fraction_constraint CHECK (.0 < coverage_fraction AND coverage_fraction <= 1.)
);
