diff --git a/migrations/000002_create_files_table.up.sql b/migrations/000002_create_files_table.up.sql index e012f1b..75c61f2 100644 --- a/migrations/000002_create_files_table.up.sql +++ b/migrations/000002_create_files_table.up.sql @@ -2,7 +2,9 @@ CREATE TABLE IF NOT EXISTS files( id bigserial PRIMARY KEY, library_id bigint REFERENCES libraries(id) NOT NULL, + md5 uuid NOT NULL, size bigint NOT NULL, - missing boolean NOT NULL, + status smallint NOT NULL, + health smallint NOT NULL, path VARCHAR (500) NOT NULL ); \ No newline at end of file