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:
parent
1ce86f22da
commit
5ec854f902
@ -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;
|
||||||
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user