mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
88058: ACE-2030: Start process of retiring patches leading up to 4.0a 88061: ACE-2030: Remove unused SQL scripts for newly-retired patches 88062: ACE-2030: Change class names for all generic patches. 88064: ACE-2030: Remove unused patch implementation classes and fixes to get upgrade working again. 88067: ACE-2030: Clean up unused code and SQL for PatchDAO git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88070 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
19 lines
597 B
SQL
19 lines
597 B
SQL
--
|
|
-- Title: Subscription tables
|
|
-- Database: PostgreSQL
|
|
-- Since: V4.0 Schema 5011
|
|
-- Author: Florian Mueller
|
|
--
|
|
-- Please contact support@alfresco.com if you need assistance with the upgrade.
|
|
--
|
|
|
|
CREATE TABLE alf_subscriptions
|
|
(
|
|
user_node_id INT8 NOT NULL,
|
|
node_id INT8 NOT NULL,
|
|
PRIMARY KEY (user_node_id, node_id),
|
|
CONSTRAINT fk_alf_sub_user FOREIGN KEY (user_node_id) REFERENCES alf_node(id) ON DELETE CASCADE,
|
|
CONSTRAINT fk_alf_sub_node FOREIGN KEY (node_id) REFERENCES alf_node(id) ON DELETE CASCADE
|
|
);
|
|
CREATE INDEX fk_alf_sub_node ON alf_subscriptions (node_id);
|