Repository: ambari
Updated Branches:
  refs/heads/trunk 7f542913b -> b392c6861


AMBARI-10569 [WinTP2] Stack widgets creation fails on Windows

Updating the drop tables script too


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/b392c686
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/b392c686
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/b392c686

Branch: refs/heads/trunk
Commit: b392c686171dcfdcc59a6813df1f137149c7107a
Parents: 7f54291
Author: Florian Barca <[email protected]>
Authored: Fri Apr 17 13:55:11 2015 -0700
Committer: Florian Barca <[email protected]>
Committed: Fri Apr 17 13:55:11 2015 -0700

----------------------------------------------------------------------
 .../src/main/resources/Ambari-DDL-SQLServer-DROP.sql         | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/b392c686/ambari-server/src/main/resources/Ambari-DDL-SQLServer-DROP.sql
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/Ambari-DDL-SQLServer-DROP.sql 
b/ambari-server/src/main/resources/Ambari-DDL-SQLServer-DROP.sql
index 06dca95..8cb3132 100644
--- a/ambari-server/src/main/resources/Ambari-DDL-SQLServer-DROP.sql
+++ b/ambari-server/src/main/resources/Ambari-DDL-SQLServer-DROP.sql
@@ -211,7 +211,13 @@ IF OBJECT_ID('adminprincipaltype', 'U') IS NOT NULL DROP 
TABLE adminprincipaltyp
 GO
 IF OBJECT_ID('repo_version', 'U') IS NOT NULL DROP TABLE repo_version
 GO
+IF OBJECT_ID('widget_layout_user_widget', 'U') IS NOT NULL DROP TABLE 
widget_layout_user_widget
+GO
+IF OBJECT_ID('widget_layout', 'U') IS NOT NULL DROP TABLE widget_layout
+GO
+IF OBJECT_ID('widget', 'U') IS NOT NULL DROP TABLE widget
+GO
 IF OBJECT_ID('artifact', 'U') IS NOT NULL DROP TABLE artifact
 GO
 IF OBJECT_ID('stack', 'U') IS NOT NULL DROP TABLE stack
-GO
\ No newline at end of file
+GO

Reply via email to