Browse Source

AMBARI-1761. Update the DDL update script to modify the table to include ph_cpu_count. (smohanty)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1463233 13f79535-47bb-0310-9956-ffa450edef68
Sumit Mohanty 12 years ago
parent
commit
91e0fcc30c

+ 3 - 0
CHANGES.txt

@@ -541,6 +541,9 @@ Trunk (unreleased changes):
 
 
  BUG FIXES
  BUG FIXES
 
 
+ AMBARI-1761. Update the DDL update script to modify the table to
+ include ph_cpu_count. (smohanty)
+
  AMBARI-1759. Error in creating host component. (smohanty)
  AMBARI-1759. Error in creating host component. (smohanty)
 
 
  AMBARI-1757. Add support for Stack 1.2.2 to Ambari. (smohanty)
  AMBARI-1757. Add support for Stack 1.2.2 to Ambari. (smohanty)

+ 1 - 0
ambari-server/src/main/resources/upgrade/ddl/Ambari-DDL-Postgres-UPGRADE-1.3.0.sql

@@ -19,6 +19,7 @@
 
 
 -- Upgrade from 1.2.0
 -- Upgrade from 1.2.0
 ALTER TABLE ambari.hosts
 ALTER TABLE ambari.hosts
+  ADD COLUMN ph_cpu_count INTEGER NOT NULL,
   ALTER COLUMN disks_info TYPE VARCHAR(10000);
   ALTER COLUMN disks_info TYPE VARCHAR(10000);
 
 
 -- Upgrade to 1.3.0
 -- Upgrade to 1.3.0