Add database file status, health and md5
This commit is contained in:
parent
0c28cb284b
commit
806f6e7e61
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
);
|
Loading…
Add table
Reference in a new issue