ALF-9990: Schema auto-update fails on MS SQL Server

- Added missing index for FK
 - Added NodeDAO.deleteSubscriptions and only added implementation for MSSQL
 - Removed ON DELETE CASCADE for MSSQL from create scripts


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29968 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2011-08-22 17:40:23 +00:00
parent b459001ca1
commit 24fa893ac3
6 changed files with 74 additions and 4 deletions

View File

@@ -7,7 +7,8 @@
-- Please contact support@alfresco.com if you need assistance with the upgrade.
--
CREATE TABLE alf_subscriptions (
CREATE TABLE alf_subscriptions
(
user_node_id BIGINT NOT NULL,
node_id BIGINT NOT NULL,
PRIMARY KEY (user_node_id, node_id),