19 lines
417 B
SQL
19 lines
417 B
SQL
-- +goose Up
|
|
-- +goose StatementBegin
|
|
CREATE TABLE IF NOT EXISTS "InventoryHistory" (
|
|
"Hid" BIGSERIAL PRIMARY KEY,
|
|
"InventoryId" INTEGER,
|
|
"ReportDate" BIGINT,
|
|
"UpdateTime" BIGINT,
|
|
"PreviousVcpus" INTEGER,
|
|
"PreviousRam" INTEGER,
|
|
"PreviousResourcePool" TEXT,
|
|
"PreviousProvisionedDisk" REAL
|
|
);
|
|
-- +goose StatementEnd
|
|
|
|
-- +goose Down
|
|
-- +goose StatementBegin
|
|
DROP TABLE "InventoryHistory";
|
|
-- +goose StatementEnd
|