1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
alter table products
add column products_price1 decimal(15,4) not null default 0.0,
add column products_price2 decimal(15,4) not null default 0.0,
add column products_price3 decimal(15,4) not null default 0.0,
add column products_price4 decimal(15,4) not null default 0.0,
add column products_price5 decimal(15,4) not null default 0.0,
add column products_price6 decimal(15,4) not null default 0.0,
add column products_price7 decimal(15,4) not null default 0.0,
add column products_price8 decimal(15,4) not null default 0.0,
add column products_price1_qty int not null default 0,
add column products_price2_qty int not null default 0,
add column products_price3_qty int not null default 0,
add column products_price4_qty int not null default 0,
add column products_price5_qty int not null default 0,
add column products_price6_qty int not null default 0,
add column products_price7_qty int not null default 0,
add column products_price8_qty int not null default 0,
add column products_qty_blocks int not null default 1;
alter table products_groups
add column products_price1 decimal(15,4) not null default 0.0,
add column products_price2 decimal(15,4) not null default 0.0,
add column products_price3 decimal(15,4) not null default 0.0,
add column products_price4 decimal(15,4) not null default 0.0,
add column products_price5 decimal(15,4) not null default 0.0,
add column products_price6 decimal(15,4) not null default 0.0,
add column products_price7 decimal(15,4) not null default 0.0,
add column products_price8 decimal(15,4) not null default 0.0,
add column products_price1_qty int not null default 0,
add column products_price2_qty int not null default 0,
add column products_price3_qty int not null default 0,
add column products_price4_qty int not null default 0,
add column products_price5_qty int not null default 0,
add column products_price6_qty int not null default 0,
add column products_price7_qty int not null default 0,
add column products_price8_qty int not null default 0,
add column products_qty_blocks int not null default 1; |
Partager