2
0
forked from Wavyzz/dolibarr
Files
dolibarr-fork/mysql/migration/2.0.0-2.1.0.sql
2006-02-15 14:39:59 +00:00

35 lines
1.0 KiB
SQL

-- $Revision$
--
-- Attention à l ordre des requetes
-- ce fichier doit être chargé sur une version 2.0.0
-- sans AUCUNE erreur ni warning
--
create table llx_commande_model_pdf
(
nom varchar(50) PRIMARY KEY,
libelle varchar(255),
description text
)type=innodb;
alter table llx_commande add column note_public text after note;
alter table llx_contrat add column note text;
alter table llx_contrat add column note_public text after note;
alter table llx_facture add column note_public text after note;
alter table llx_propal add column note_public text after note;
ALTER TABLE llx_societe ADD mode_reglement INT( 11 ) DEFAULT NULL ;
ALTER TABLE llx_societe ADD cond_reglement INT( 11 ) DEFAULT '1' NOT NULL ;
alter table llx_product add gencode varchar(255) DEFAULT NULL;
insert into llx_c_paiement (id,code,libelle,type,active) values (11,'PRO', 'Proforma', 2,1);
alter table llx_commande add fk_cond_reglement int(11) DEFAULT NULL;
alter table llx_commande add fk_mode_reglement int(11) DEFAULT NULL;