ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prad...@apache.org
Subject [1/3] ranger git commit: RANGER-1401 : Add consolidated db schema script for SQLServer DB flavor
Date Tue, 28 Feb 2017 16:53:09 GMT
Repository: ranger
Updated Branches:
  refs/heads/master b83fcdbb4 -> 24f053e26


http://git-wip-us.apache.org/repos/asf/ranger/blob/24f053e2/security-admin/db/sqlserver/xa_core_db_sqlserver.sql
----------------------------------------------------------------------
diff --git a/security-admin/db/sqlserver/xa_core_db_sqlserver.sql b/security-admin/db/sqlserver/xa_core_db_sqlserver.sql
index 89dfbf6..34065bb 100644
--- a/security-admin/db/sqlserver/xa_core_db_sqlserver.sql
+++ b/security-admin/db/sqlserver/xa_core_db_sqlserver.sql
@@ -76,7 +76,7 @@ END
 GO
 IF (OBJECT_ID('x_portal_user_FK_upd_by_id') IS NOT NULL)
 BEGIN
-    ALTER TABLE [dbo].[x_portal_user_role] DROP CONSTRAINT x_portal_user_FK_upd_by_id
+    ALTER TABLE [dbo].[x_portal_user] DROP CONSTRAINT x_portal_user_FK_upd_by_id
 END
 GO
 IF (OBJECT_ID('x_portal_user_FK_added_by_id') IS NOT NULL)
@@ -1563,7 +1563,7 @@ END
 GO
 IF (OBJECT_ID('x_atd_grants_FK_atdid') IS NOT NULL)
 BEGIN
-    ALTER TABLE [dbo].[x_atd_grants] DROP CONSTRAINT x_atd_grants_FK_atdid
+    ALTER TABLE [dbo].[x_access_type_def_grants] DROP CONSTRAINT x_atd_grants_FK_atdid
 END
 GO
 IF (OBJECT_ID('x_policy_condition_def_FK_defid') IS NOT NULL)


Mime
View raw message