mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
On nomme les index non nomms
This commit is contained in:
parent
4e0d856c09
commit
da9baf3bb4
|
|
@ -1886,7 +1886,6 @@ create table llx_societe_perms
|
|||
|
||||
drop table if exists llx_contact_facture;
|
||||
|
||||
drop table if exists llx_c_type_contact;
|
||||
|
||||
create table llx_c_type_contact
|
||||
(
|
||||
|
|
|
|||
24
mysql/tables/llx_bank_account.key.sql
Normal file
24
mysql/tables/llx_bank_account.key.sql
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
-- ============================================================================
|
||||
-- Copyright (C) 2005 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_bank_account ADD UNIQUE uk_bank_account_label (label);
|
||||
|
|
@ -30,7 +30,7 @@ create table llx_bank_account
|
|||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||
datec datetime,
|
||||
tms timestamp,
|
||||
label varchar(30) UNIQUE,
|
||||
label varchar(30),
|
||||
bank varchar(60),
|
||||
code_banque varchar(7),
|
||||
code_guichet varchar(6),
|
||||
|
|
|
|||
24
mysql/tables/llx_c_currencies.key.sql
Normal file
24
mysql/tables/llx_c_currencies.key.sql
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
-- ========================================================================
|
||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- 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.
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
|
||||
ALTER TABLE llx_c_currencies ADD UNIQUE uk_c_currencies_code_iso(code_iso);
|
||||
|
|
@ -22,8 +22,8 @@
|
|||
|
||||
create table llx_c_currencies
|
||||
(
|
||||
code varchar(2) UNIQUE PRIMARY KEY,
|
||||
code_iso varchar(3) UNIQUE NOT NULL,
|
||||
code varchar(2) PRIMARY KEY,
|
||||
code_iso varchar(3) NOT NULL,
|
||||
label varchar(64),
|
||||
active tinyint DEFAULT 1 NOT NULL
|
||||
)type=innodb;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user