Nouveau fichier
This commit is contained in:
parent
4e25c75569
commit
f08dd65d65
@ -0,0 +1,30 @@
|
||||
-- ============================================================================
|
||||
-- Copyright (C) 2002-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$
|
||||
--
|
||||
-- ============================================================================
|
||||
|
||||
--
|
||||
--
|
||||
ALTER TABLE llx_telephonie_adsl_fournisseur ADD INDEX (fk_soc);
|
||||
--
|
||||
--
|
||||
ALTER TABLE llx_telephonie_adsl_fournisseur ADD FOREIGN KEY (fk_soc) REFERENCES llx_societe (idp);
|
||||
|
||||
29
htdocs/telephonie/sql/llx_telephonie_adsl_fournisseur.sql
Normal file
29
htdocs/telephonie/sql/llx_telephonie_adsl_fournisseur.sql
Normal file
@ -0,0 +1,29 @@
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
--
|
||||
-- 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_telephonie_adsl_fournisseur (
|
||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||
fk_soc integer NOT NULL,
|
||||
email_commande varchar(255),
|
||||
commande_active tinyint default 0
|
||||
|
||||
)type=innodb;
|
||||
39
htdocs/telephonie/sql/llx_telephonie_adsl_ligne.sql
Normal file
39
htdocs/telephonie/sql/llx_telephonie_adsl_ligne.sql
Normal file
@ -0,0 +1,39 @@
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
--
|
||||
-- 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_telephonie_adsl_ligne (
|
||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||
fk_client integer NOT NULL,
|
||||
fk_client_install integer NOT NULL,
|
||||
fk_client_facture integer NOT NULL,
|
||||
numero_ligne varchar(20) NOT NULL,
|
||||
login varchar(255),
|
||||
ip varchar(20),
|
||||
password varchar(50),
|
||||
fk_fournisseur integer,
|
||||
fk_type integer NOT NULL,
|
||||
fk_commercial integer NOT NULL,
|
||||
fk_user_creat integer NOT NULL,
|
||||
statut smallint DEFAULT -1,
|
||||
note text
|
||||
|
||||
)type=innodb;
|
||||
36
htdocs/telephonie/sql/llx_telephonie_adsl_ligne_statut.sql
Normal file
36
htdocs/telephonie/sql/llx_telephonie_adsl_ligne_statut.sql
Normal file
@ -0,0 +1,36 @@
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
--
|
||||
-- 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$
|
||||
--
|
||||
-- ========================================================================
|
||||
--
|
||||
-- Statut des lignes
|
||||
--
|
||||
--
|
||||
|
||||
create table llx_telephonie_adsl_ligne_statut (
|
||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||
tms datetime,
|
||||
fk_ligne integer NOT NULL,
|
||||
statut smallint NOT NULL,
|
||||
fk_user integer,
|
||||
comment varchar(255)
|
||||
|
||||
)type=innodb;
|
||||
|
||||
28
htdocs/telephonie/sql/llx_telephonie_adsl_type.sql
Normal file
28
htdocs/telephonie/sql/llx_telephonie_adsl_type.sql
Normal file
@ -0,0 +1,28 @@
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
--
|
||||
-- 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_telephonie_adsl_type (
|
||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||
intitule varchar(255),
|
||||
commande_active smallint DEFAULT 1
|
||||
|
||||
)type=innodb;
|
||||
Loading…
Reference in New Issue
Block a user