CREATE TABLE flake_inputs (
       id INTEGER NOT NULL PRIMARY KEY,
       build_id INTEGER NOT NULL,
       input_name TEXT NOT NULL,
       rev TEXT NOT NULL,
       FOREIGN KEY(build_id) REFERENCES build(id)
) STRICT;

CREATE INDEX ix_flake_inputs_build_id ON flake_inputs(build_id);
