Add logging, fix devenv up
This commit is contained in:
@@ -37,3 +37,11 @@ CREATE TABLE music_metadata_pictures (
|
||||
data_length BIGINT NOT NULL,
|
||||
PRIMARY KEY (inode, position)
|
||||
);
|
||||
|
||||
-- Lazy byte cache for NetworkOrigin. Rows exist only for files the user has
|
||||
-- actually read; reconcile invalidates a row when its hash changes.
|
||||
CREATE TABLE cached_file_bytes (
|
||||
inode BIGINT PRIMARY KEY REFERENCES items(inode) ON DELETE CASCADE,
|
||||
data BYTEA NOT NULL,
|
||||
fetched_at TIMESTAMPTZ NOT NULL DEFAULT now()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user