Fixed StorageUsageRecord table

This commit is contained in:
Luca Frosini 2021-03-15 11:44:19 +01:00
parent c64409a80d
commit f376ed0a8d
1 changed files with 5 additions and 1 deletions

View File

@ -13,5 +13,9 @@ CREATE TABLE "storageusagerecord"(
provider_uri TEXT NOT NULL,
operation_type operation_type NOT NULL,
data_type data_type NOT NULL,
data_volume NUMERIC NOT NULL
data_volume NUMERIC NOT NULL,
operation_count INTEGER NOT NULL DEFAULT 1,
aggregated BOOLEAN NOT NULL DEFAULT true,
start_time TIMESTAMP WITH TIME ZONE NOT NULL,
end_time TIMESTAMP WITH TIME ZONE NOT NULL
);