lotus/lib/harmony/harmonydb/sql/20240417-sector_index_gc.sql

14 lines
313 B
MySQL
Raw Normal View History

create table sector_path_url_liveness (
storage_id text,
url text,
last_checked timestamp not null,
last_live timestamp,
last_dead timestamp,
last_dead_reason text,
primary key (storage_id, url),
foreign key (storage_id) references storage_path (storage_id) on delete cascade
)