From cbc274c12cbb5cfb88f7c649686263b7bcd6ae8a Mon Sep 17 00:00:00 2001 From: Jan Vonka Date: Thu, 19 Mar 2009 16:40:19 +0000 Subject: [PATCH] MOB-629 - remove AVM issuer id (cont) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13690 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../remove-AVM-issuer.sql | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/config/alfresco/dbscripts/upgrade/3.2/org.hibernate.dialect.MySQLInnoDBDialect/remove-AVM-issuer.sql b/config/alfresco/dbscripts/upgrade/3.2/org.hibernate.dialect.MySQLInnoDBDialect/remove-AVM-issuer.sql index 1a717b86fe..09c498e425 100644 --- a/config/alfresco/dbscripts/upgrade/3.2/org.hibernate.dialect.MySQLInnoDBDialect/remove-AVM-issuer.sql +++ b/config/alfresco/dbscripts/upgrade/3.2/org.hibernate.dialect.MySQLInnoDBDialect/remove-AVM-issuer.sql @@ -1,7 +1,7 @@ -- -- Title: Upgrade to V3.2 - Remove AVM Issuer -- Database: MySQL --- Since: V3.2 schema X +-- Since: V3.2 schema 2008 -- Author: janv -- -- remove AVM node issuer - replace with auto-increment id @@ -38,7 +38,11 @@ update avm_version_roots set root_id = (select max(id) from avm_nodes) where roo delete from avm_nodes where id = 0; -alter table avm_nodes modify column id bigint not null auto_increment; +alter table avm_nodes modify column id bigint not null auto_increment; + +-- drop issuer table + +drop table avm_issuer_ids; -- -- Record script finish