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