Provides ccm-core UPDATE script: 6.6.0->6.6.1
git-svn-id: https://svn.libreccm.org/ccm/trunk@694 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
c278ef3fa3
commit
c9638bbb60
|
|
@ -0,0 +1,25 @@
|
|||
--
|
||||
-- This library is free software; you can redistribute it and/or
|
||||
-- modify it under the terms of the GNU Lesser General Public License
|
||||
-- as published by the Free Software Foundation; either version 2.1 of
|
||||
-- the License, or (at your option) any later version.
|
||||
--
|
||||
-- This library is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
-- Lesser General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU Lesser General Public
|
||||
-- License along with this library; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
--
|
||||
-- $Id: recreateusers_index.sql pboy $
|
||||
|
||||
-- for some unkown reason for some ccm installations an index for
|
||||
-- users tables has been lost. Just in case it is recreated here.
|
||||
|
||||
-- First: Drop index to avoid an error it it already exists
|
||||
drop index if exists users_lower_screen_name_idx ;
|
||||
|
||||
create unique index users_lower_screen_name_idx on users
|
||||
USING btree (lower((screen_name)::text));
|
||||
|
|
@ -22,5 +22,6 @@
|
|||
begin;
|
||||
|
||||
\i ../default/upgrade/6.6.0-6.6.1/drop_tables_acs_stylesheets.sql
|
||||
\i ../default/upgrade/6.6.0-6.6.1/recreate_users_index.sql
|
||||
|
||||
commit;
|
||||
|
|
|
|||
|
|
@ -34,4 +34,7 @@
|
|||
<version from="6.5.5" to="6.5.6">
|
||||
<script sql="ccm-core/upgrade/::database::-6.5.5-6.5.6.sql"/>
|
||||
</version>
|
||||
<version from="6.6.0" to="6.6.1">
|
||||
<script sql="ccm-core/upgrade/::database::-6.6.0-6.6.1.sql"/>
|
||||
</version>
|
||||
</upgrade>
|
||||
|
|
|
|||
Loading…
Reference in New Issue