Mere modif de la branche 2.1
This commit is contained in:
parent
8666864cb0
commit
d76e0c6dfd
@ -18,6 +18,7 @@
|
|||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*
|
*
|
||||||
* $Id$
|
* $Id$
|
||||||
|
* $Id$
|
||||||
* $Source$
|
* $Source$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@ -810,6 +810,9 @@ alter table llx_adherent add column phone varchar(30) after email;
|
|||||||
alter table llx_adherent add column phone_perso varchar(30) after phone;
|
alter table llx_adherent add column phone_perso varchar(30) after phone;
|
||||||
alter table llx_adherent add column phone_mobile varchar(30) after phone_perso;
|
alter table llx_adherent add column phone_mobile varchar(30) after phone_perso;
|
||||||
|
|
||||||
|
delete from llx_adherent_type where libelle IS NULL;
|
||||||
|
alter table llx_adherent_type modify libelle varchar(50) NOT NULL;
|
||||||
|
|
||||||
update llx_facture set fk_facture_source=null where fk_facture_source is not null and type = 0;
|
update llx_facture set fk_facture_source=null where fk_facture_source is not null and type = 0;
|
||||||
update llx_facture set fk_statut=2 where paye=1;
|
update llx_facture set fk_statut=2 where paye=1;
|
||||||
update llx_facture set fk_statut=2 where close_code is not null and close_code != '' and close_code != 'replaced';
|
update llx_facture set fk_statut=2 where close_code is not null and close_code != '' and close_code != 'replaced';
|
||||||
|
|||||||
24
mysql/tables/llx_adherent_type.key.sql
Normal file
24
mysql/tables/llx_adherent_type.key.sql
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
-- ============================================================================
|
||||||
|
-- Copyright (C) 2007 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
|
--
|
||||||
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
|
-- it under the terms of the GNU General Public License as published by
|
||||||
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
|
-- (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- This program 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 General Public License for more details.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU General Public License
|
||||||
|
-- along with this program; if not, write to the Free Software
|
||||||
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
--
|
||||||
|
-- $Id$
|
||||||
|
-- $Source$
|
||||||
|
--
|
||||||
|
-- ============================================================================
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE llx_adherent_type ADD UNIQUE uk_adherent_type_libelle(libelle);
|
||||||
Loading…
Reference in New Issue
Block a user