On vire le champ date modif datea car existe deja sous le nom tms de type timestamp (plus efficace car géré 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 create table llx_societe_adresse_livraison
( (
rowid integer AUTO_INCREMENT PRIMARY KEY, rowid integer AUTO_INCREMENT PRIMARY KEY,
tms timestamp,
datec datetime, datec datetime,
tms timestamp,
fk_societe integer DEFAULT 0, fk_societe integer DEFAULT 0,
nom varchar(60), nom varchar(60),
address varchar(255), address varchar(255),
@ -142,5 +142,5 @@ create table llx_societe_adresse_livraison
fk_user_modif integer fk_user_modif integer
)type=innodb; )type=innodb;
alter table llx_societe_adresse_livraison add column label varchar(30) after datec; alter table llx_societe_adresse_livraison add column label varchar(30) after tms;
alter table llx_societe_adresse_livraison add column datea datetime after datec; -- 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 create table llx_societe_adresse_livraison
( (
rowid integer AUTO_INCREMENT PRIMARY KEY, rowid integer AUTO_INCREMENT PRIMARY KEY,
tms timestamp,
datec datetime, -- creation date datec datetime, -- creation date
datea datetime, -- modification date tms timestamp, -- modification date
label varchar(30), -- label varchar(30), --
fk_societe integer DEFAULT 0, -- fk_societe integer DEFAULT 0, --
nom varchar(60), -- company name nom varchar(60), -- company name