-- +goose Up
-- +goose StatementBegin
CREATE TABLE IF NOT EXISTS "InventoryHistory" (
    "Hid" INTEGER PRIMARY KEY AUTOINCREMENT,
    "InventoryId" INTEGER,
    "ReportDate" INTEGER,    
    "UpdateTime" INTEGER,
    "PreviousVcpus" INTEGER,
    "PreviousRam" INTEGER,
    "PreviousResourcePool" TEXT,
    "PreviousProvisionedDisk" REAL
)
-- +goose StatementEnd

-- +goose Down
-- +goose StatementBegin
DROP TABLE "InventoryHistory";
-- +goose StatementEnd
