Author: croberts
Date: 2012-04-19 20:26:50 +0000 (Thu, 19 Apr 2012)
New Revision: 5325
Added:
trunk/cumin/model/upgrades/1.2_to_1.3
Log:
Databae update script to add the OSUtil table for the reporting feature.
Added: trunk/cumin/model/upgrades/1.2_to_1.3
===================================================================
--- trunk/cumin/model/upgrades/1.2_to_1.3 (rev 0)
+++ trunk/cumin/model/upgrades/1.2_to_1.3 2012-04-19 20:26:50 UTC (rev 5325)
@@ -0,0 +1,3 @@
+#!/bin/bash
+echo CREATE TABLE "com.redhat.grid.plumage"."OSUtil"( _id bigint NOT
NULL, ts timestamp without time zone NOT NULL, m text, n text, ar text, os text, ki
bigint, la bigint, st text,pu bigint, mem bigint, CONSTRAINT "OSUtil_pk" PRIMARY
KEY (_id ))WITH (OIDS=FALSE);ALTER TABLE
"com.redhat.grid.plumage"."OSUtil" OWNER TO cumin;| psql -d cumin -U
cumin -h localhost
+echo CREATE TABLE "com.redhat.grid.plumage"."OSUtil_samples"( ts
timestamp without time zone NOT NULL, m text, n text, ar text, os text, ki bigint, la
bigint, st text, cpu bigint, mem bigint) WITH (OIDS=FALSE);ALTER TABLE
"com.redhat.grid.plumage"."OSUtil_samples" OWNER TO cumin;| psql -d
cumin -U cumin -h localhost
\ No newline at end of file
Show replies by date