mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-03 23:52:24 +01:00
Uniformize table fields
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Id: llx_c_chargesociales.sql,v 1.4 2011/06/29 11:22:36 eldy Exp $
|
||||
-- ========================================================================
|
||||
|
||||
create table llx_c_chargesociales
|
||||
@@ -26,7 +26,8 @@ create table llx_c_chargesociales
|
||||
deductible smallint DEFAULT 0 NOT NULL,
|
||||
active tinyint DEFAULT 1 NOT NULL,
|
||||
code varchar(12) NOT NULL,
|
||||
fk_pays integer DEFAULT 1 NOT NULL
|
||||
fk_pays integer DEFAULT 1 NOT NULL,
|
||||
module varchar(32) NULL
|
||||
)ENGINE=innodb;
|
||||
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Id: llx_c_civilite.sql,v 1.3 2011/06/29 11:22:35 eldy Exp $
|
||||
-- ========================================================================
|
||||
|
||||
create table llx_c_civilite
|
||||
@@ -24,6 +24,7 @@ create table llx_c_civilite
|
||||
rowid integer PRIMARY KEY,
|
||||
code varchar(6) UNIQUE NOT NULL,
|
||||
civilite varchar(50),
|
||||
active tinyint DEFAULT 1 NOT NULL
|
||||
active tinyint DEFAULT 1 NOT NULL,
|
||||
module varchar(32) NULL
|
||||
)ENGINE=innodb;
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Id: llx_c_input_method.sql,v 1.2 2011/06/29 11:22:35 eldy Exp $
|
||||
-- ========================================================================
|
||||
|
||||
create table llx_c_input_method
|
||||
@@ -24,6 +24,7 @@ create table llx_c_input_method
|
||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||
code varchar(30),
|
||||
libelle varchar(60),
|
||||
active tinyint default 1 NOT NULL
|
||||
active tinyint default 1 NOT NULL,
|
||||
module varchar(32) NULL
|
||||
)ENGINE=innodb;
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Id: llx_c_input_reason.sql,v 1.2 2011/06/29 11:22:36 eldy Exp $
|
||||
-- ========================================================================
|
||||
|
||||
create table llx_c_input_reason
|
||||
@@ -24,7 +24,7 @@ create table llx_c_input_reason
|
||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||
code varchar(30),
|
||||
label varchar(60),
|
||||
active tinyint default 1 NOT NULL
|
||||
|
||||
active tinyint default 1 NOT NULL,
|
||||
module varchar(32) NULL
|
||||
)ENGINE=innodb;
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Id: llx_c_paiement.sql,v 1.4 2011/06/29 11:22:36 eldy Exp $
|
||||
-- ========================================================================
|
||||
|
||||
|
||||
@@ -32,7 +32,8 @@ create table llx_c_paiement
|
||||
code varchar(6) UNIQUE NOT NULL,
|
||||
libelle varchar(30),
|
||||
type smallint,
|
||||
active tinyint DEFAULT 1 NOT NULL
|
||||
active tinyint DEFAULT 1 NOT NULL,
|
||||
module varchar(32) NULL
|
||||
)ENGINE=innodb;
|
||||
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Id: llx_c_paper_format.sql,v 1.3 2011/06/29 11:22:35 eldy Exp $
|
||||
-- ========================================================================
|
||||
|
||||
create table llx_c_paper_format
|
||||
@@ -25,8 +25,9 @@ create table llx_c_paper_format
|
||||
label varchar(50) NOT NULL,
|
||||
width float(6,2) DEFAULT 0, -- Largeur du papier
|
||||
height float(6,2) DEFAULT 0, -- Hauteur du papier
|
||||
unit varchar(5) NOT NULL, -- Unit<EFBFBD> de mesure
|
||||
active tinyint DEFAULT 1 NOT NULL
|
||||
unit varchar(5) NOT NULL, -- Mesure unit
|
||||
active tinyint DEFAULT 1 NOT NULL,
|
||||
module varchar(32) NULL
|
||||
)ENGINE=innodb;
|
||||
|
||||
--
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Id: llx_c_payment_term.sql,v 1.4 2011/06/29 11:22:35 eldy Exp $
|
||||
-- ============================================================================
|
||||
|
||||
create table llx_c_payment_term
|
||||
@@ -28,5 +28,6 @@ create table llx_c_payment_term
|
||||
libelle_facture text,
|
||||
fdm tinyint, -- reglement fin de mois
|
||||
nbjour smallint,
|
||||
decalage smallint
|
||||
decalage smallint,
|
||||
module varchar(32) NULL
|
||||
)ENGINE=innodb;
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Id: llx_c_prospectlevel.sql,v 1.3 2011/06/29 11:22:36 eldy Exp $
|
||||
-- ===================================================================
|
||||
|
||||
create table llx_c_prospectlevel
|
||||
@@ -23,6 +23,7 @@ create table llx_c_prospectlevel
|
||||
code varchar(12) PRIMARY KEY,
|
||||
label varchar(30),
|
||||
sortorder smallint,
|
||||
active smallint DEFAULT 1 NOT NULL
|
||||
active smallint DEFAULT 1 NOT NULL,
|
||||
module varchar(32) NULL
|
||||
) ENGINE=innodb;
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Id: llx_c_shipment_mode.sql,v 1.3 2011/06/29 11:22:35 eldy Exp $
|
||||
-- ===================================================================
|
||||
|
||||
create table llx_c_shipment_mode
|
||||
@@ -25,5 +25,6 @@ create table llx_c_shipment_mode
|
||||
code varchar(30) NOT NULL,
|
||||
libelle varchar(50) NOT NULL,
|
||||
description text,
|
||||
active tinyint DEFAULT 0
|
||||
active tinyint DEFAULT 0,
|
||||
module varchar(32) NULL
|
||||
)ENGINE=innodb;
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Id: llx_c_type_fees.sql,v 1.3 2011/06/29 11:22:35 eldy Exp $
|
||||
-- ========================================================================
|
||||
|
||||
create table llx_c_type_fees
|
||||
@@ -24,5 +24,6 @@ create table llx_c_type_fees
|
||||
id integer AUTO_INCREMENT PRIMARY KEY,
|
||||
code varchar(12) UNIQUE NOT NULL,
|
||||
libelle varchar(30),
|
||||
active tinyint DEFAULT 1 NOT NULL
|
||||
active tinyint DEFAULT 1 NOT NULL,
|
||||
module varchar(32) NULL
|
||||
)ENGINE=innodb;
|
||||
|
||||
Reference in New Issue
Block a user