On vire le champ date modif datea car existe deja sous le nom tms de type timestamp (plus efficace car gr en automatique donc plus sur et rien coder).

This commit is contained in:
Laurent Destailleur 2006-04-20 00:44:44 +00:00
parent 1ce86f22da
commit 5ec854f902
2 changed files with 4 additions and 5 deletions

View File

@ -128,8 +128,8 @@ update llx_bank_url set type = 'payment_supplier' where label = '(paiement)' and
create table llx_societe_adresse_livraison
(
rowid integer AUTO_INCREMENT PRIMARY KEY,
tms timestamp,
datec datetime,
tms timestamp,
fk_societe integer DEFAULT 0,
nom varchar(60),
address varchar(255),
@ -142,5 +142,5 @@ create table llx_societe_adresse_livraison
fk_user_modif integer
)type=innodb;
alter table llx_societe_adresse_livraison add column label varchar(30) after datec;
alter table llx_societe_adresse_livraison add column datea datetime after datec;
alter table llx_societe_adresse_livraison add column label varchar(30) after tms;
-- Le champ date modif existe deja sous le nom tms. alter table llx_societe_adresse_livraison add column datea datetime after datec;

View File

@ -24,9 +24,8 @@
create table llx_societe_adresse_livraison
(
rowid integer AUTO_INCREMENT PRIMARY KEY,
tms timestamp,
datec datetime, -- creation date
datea datetime, -- modification date
tms timestamp, -- modification date
label varchar(30), --
fk_societe integer DEFAULT 0, --
nom varchar(60), -- company name