浏览代码

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 年之前
父节点
当前提交
91e0fcc30c
共有 2 个文件被更改,包括 4 次插入0 次删除
  1. 3 0
      CHANGES.txt
  2. 1 0
      ambari-server/src/main/resources/upgrade/ddl/Ambari-DDL-Postgres-UPGRADE-1.3.0.sql

+ 3 - 0
CHANGES.txt

@@ -541,6 +541,9 @@ Trunk (unreleased changes):
 
  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-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
 ALTER TABLE ambari.hosts
+  ADD COLUMN ph_cpu_count INTEGER NOT NULL,
   ALTER COLUMN disks_info TYPE VARCHAR(10000);
 
 -- Upgrade to 1.3.0