
CREATE TABLE IF NOT EXISTS files(
   id bigserial PRIMARY KEY,
   library_id bigint REFERENCES libraries(id) NOT NULL,
   size bigint NOT NULL,
   missing boolean NOT NULL,
   path VARCHAR (500) NOT NULL
);