Browse Source

AMBARI-10605 - [WinTP2] sql error during DB creation

Artem Baranchuk 10 years ago
parent
commit
14b863738a

+ 1 - 1
ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql

@@ -633,7 +633,7 @@ CREATE TABLE adminprivilege (
 CREATE TABLE host_version (
 CREATE TABLE host_version (
   id BIGINT NOT NULL,
   id BIGINT NOT NULL,
   repo_version_id BIGINT NOT NULL,
   repo_version_id BIGINT NOT NULL,
-  host_name VARCHAR(255) NOT NULL,
+  host_id BIGINT NOT NULL,
   STATE VARCHAR(32) NOT NULL,
   STATE VARCHAR(32) NOT NULL,
   PRIMARY KEY CLUSTERED (id)
   PRIMARY KEY CLUSTERED (id)
   );
   );