diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-10-22 05:09:55 +0400 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-10-22 05:09:55 +0400 |
commit | 3eb9d26150bd4b84e4bf7c640c6d314a64577839 (patch) | |
tree | 06738b52d34f6730cc9eb83a0a4a66c2a4c8be98 /schema/changelog-4.0-clean.xml | |
parent | e4bbd04c84dffa351e2b782df9b7bedb19c314c3 (diff) | |
download | trackermap-server-3eb9d26150bd4b84e4bf7c640c6d314a64577839.tar.gz trackermap-server-3eb9d26150bd4b84e4bf7c640c6d314a64577839.tar.bz2 trackermap-server-3eb9d26150bd4b84e4bf7c640c6d314a64577839.zip |
Move changeset to new changelog
Diffstat (limited to 'schema/changelog-4.0-clean.xml')
-rw-r--r-- | schema/changelog-4.0-clean.xml | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/schema/changelog-4.0-clean.xml b/schema/changelog-4.0-clean.xml index 0bdcc41e5..f3f814eba 100644 --- a/schema/changelog-4.0-clean.xml +++ b/schema/changelog-4.0-clean.xml @@ -646,45 +646,4 @@ </changeSet> - <changeSet author="author" id="changelog-4.0-clean-mssql"> - - <preConditions onFail="MARK_RAN"> - <not> - <changeSetExecuted changeLogFile="changelog-3.3" id="changelog-3.3" author="author" /> - </not> - <dbms type="mssql" /> - </preConditions> - - <sql> - IF EXISTS (SELECT * FROM sysobjects WHERE type = 'TR' AND name = 'tg_groups_delete') - BEGIN - DROP TRIGGER tg_groups_delete - END; - </sql> - - <sql> - CREATE TRIGGER tg_groups_delete - ON tc_groups FOR DELETE - AS BEGIN - UPDATE tc_groups SET groupid = NULL WHERE groupid IN (SELECT deleted.id FROM deleted) - END - </sql> - - <sql> - IF EXISTS (SELECT * FROM sysobjects WHERE type = 'TR' AND name = 'tg_users_delete') - BEGIN - DROP TRIGGER tg_users_delete - END; - </sql> - - <sql> - CREATE TRIGGER tg_users_delete - ON tc_users FOR DELETE - AS BEGIN - DELETE FROM tc_user_user WHERE manageduserid IN (SELECT deleted.id FROM deleted) - END - </sql> - - </changeSet> - </databaseChangeLog> |