Files
alfresco-community-repo/config/alfresco/dbscripts/create/org.hibernate.dialect.MySQLInnoDBDialect/AlfrescoCreate-AuthorizationTables.sql
Alan Davis f3dca62beb Merged 5.0.N (5.0.3) to 5.1.N (5.1.1)
113213 adavis: Merged V4.2-BUG-FIX (4.2.6) to 5.0.N (5.0.3) (PARTIAL MERGE)
      113209 adavis: Merged V4.2.5 (4.2.5) to V4.2-BUG-FIX (4.2.6)
         113124: MNT-13871: MNT-14875: The table creation code for authorised-user (MNT-13871) need to be moved back into the main Alfresco code base
            - Added the scripts to the main code base.
            - Updated the authorised-users.jar,
         113203: MNT-13871: MNT-14875: The table creation code for authorised-user (MNT-13871) need to be moved back into the main Alfresco code base
            - Moved the patch to the main code.
            - Updated the authorised-users.jar
         113128: MNT-14867 (MNT-13871) : [UserAuth] License user limit exceeded by adding users to ALFRESCO_ADMINISTRATORS LDAP group
            - Updated auhtorised-users jar.,


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.1.N/root@113215 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-09-28 14:07:01 +00:00

35 lines
1.1 KiB
SQL

--
-- Title: Create Authorization Status
-- Database: MySQL InnoDB
-- Since: V4.1.11 Schema 5156
-- Author: Pavel Yurkevich
--
-- Please contact support@alfresco.com if you need assistance with the upgrade.
--
CREATE TABLE alf_auth_status
(
id BIGINT NOT NULL AUTO_INCREMENT,
username VARCHAR(100) NOT NULL,
deleted BIT NOT NULL,
authorized BIT NOT NULL,
checksum BLOB NOT NULL,
authaction VARCHAR(10) NOT NULL,
UNIQUE INDEX idx_alf_auth_usr_stat (username, authorized),
INDEX idx_alf_auth_action (authaction),
INDEX idx_alf_auth_deleted (deleted),
PRIMARY KEY (id)
) ENGINE=InnoDB;
--
-- Record script finish
--
DELETE FROM alf_applied_patch WHERE id = 'patch.db-V4.1-AuthorizationTables';
INSERT INTO alf_applied_patch
(id, description, fixes_from_schema, fixes_to_schema, applied_to_schema, target_schema, applied_on_date, applied_to_server, was_executed, succeeded, report)
VALUES
(
'patch.db-V4.1-AuthorizationTables', 'Manually executed script upgrade V4.1: Authorization status tables',
0, 6075, -1, 6076, null, 'UNKNOWN', ${TRUE}, ${TRUE}, 'Script completed'
);