New: Renommage de llx_birthday_alert en llx_user_alert et ajout d'un champ type d'alerte afin de pouvoir spcifier d'autres types d'alertes que les anniversaires.

This commit is contained in:
Laurent Destailleur 2004-07-17 17:05:45 +00:00
parent 78c478860f
commit 4d13a0401b
2 changed files with 33 additions and 0 deletions

View File

@ -54,6 +54,9 @@ alter table llx_bank_account add adresse_proprio varchar(255) after proprio ;
alter table llx_paiement add fk_bank integer NOT NULL after note ;
alter table llx_paiementfourn add fk_bank integer NOT NULL after note ;
alter table llx_birthday_alert rename llx_user_alert ;
alter table llx_user_alert add type integer after rowid;
update llx_user_alert set type=1 where type is null;
alter table c_paiement rename llx_c_paiement ;
alter table c_propalst rename llx_c_propalst ;

View File

@ -0,0 +1,30 @@
-- ============================================================================
-- Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
-- Copyright (C) 2004 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$
--
-- ============================================================================
create table llx_user_alert
(
rowid integer AUTO_INCREMENT PRIMARY KEY,
type integer,
fk_contact integer, -- pointe sur llx_socpeople
fk_user integer
)type=innodb;