liche update for admin auto cars attr exporde

This commit is contained in:
xxb
2021-09-02 16:05:15 +08:00
committed by lccsw
parent 71934e4e24
commit 24c58b7411
9 changed files with 119 additions and 43 deletions
+7 -1
View File
@@ -75,8 +75,14 @@ create table lc_auto_cars (
primary key (id),
unique(attrs)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='车型库';
alter table lc_auto_cars add column month_pay double(10,2) not null default 0.0 comment '月供' after first_pay;
alter table lc_auto_cars add column month_pay double(10,2) not null default 0.0 comment '月供' after first_pay;
alter table lc_auto_cars add column price_book double(10,2) not null default 0.0 comment '定金' after price_car;
alter table lc_auto_cars
add column v_id int unsigned not null default '0' comment '车型id' after s_id,
add column cor_id int unsigned not null default '0' comment '车身颜色id' after v_id,
add column incor_id int unsigned not null default '0' comment '内饰颜色' after cor_id;
alter table lc_auto_cars modify attrs char(30) not null default '' comment '属性组合:{type0id}_{type1id}_{type2id}';
alter table lc_auto_cars drop index attrs;
-- ----------------------------