Authored by iknitting

修改product表outlet的默认值

@@ -59,7 +59,7 @@ ADD COLUMN `expect_shelf_time` int(10) UNSIGNED DEFAULT 0 COMMENT '预计上架æ @@ -59,7 +59,7 @@ ADD COLUMN `expect_shelf_time` int(10) UNSIGNED DEFAULT 0 COMMENT '预计上架æ
59 ADD COLUMN `factory_code` varchar(100) DEFAULT '' COMMENT '厂家编号' AFTER `expect_shelf_time`, 59 ADD COLUMN `factory_code` varchar(100) DEFAULT '' COMMENT '厂家编号' AFTER `expect_shelf_time`,
60 ADD COLUMN `age_level` varchar(50) DEFAULT '1' COMMENT '年龄层(1成人 2大童 3小童 逗号分隔)' AFTER `factory_code`, 60 ADD COLUMN `age_level` varchar(50) DEFAULT '1' COMMENT '年龄层(1成人 2大童 3小童 逗号分隔)' AFTER `factory_code`,
61 CHANGE COLUMN `grade` `grade` char(20) DEFAULT NULL COMMENT '重点款型(是:K,否:null)', 61 CHANGE COLUMN `grade` `grade` char(20) DEFAULT NULL COMMENT '重点款型(是:K,否:null)',
62 -MODIFY COLUMN `is_outlets` enum('Y','N','B') DEFAULT 'N' COMMENT '是否奥莱 Y:是N:否B:品牌设置' AFTER `is_promotion`, 62 +MODIFY COLUMN `is_outlets` enum('Y','N','B') DEFAULT 'B' COMMENT '是否奥莱 Y:是N:否B:品牌设置' AFTER `is_promotion`,
63 ADD COLUMN `is_promotional_gifts` enum('Y','N') DEFAULT 'N' AFTER `goods_season`, 63 ADD COLUMN `is_promotional_gifts` enum('Y','N') DEFAULT 'N' AFTER `goods_season`,
64 ADD COLUMN `is_vip` enum('Y','N','B') DEFAULT 'N' COMMENT '是否VIP Y:是N:否B:品牌设置' AFTER `is_promotional_gifts`, 64 ADD COLUMN `is_vip` enum('Y','N','B') DEFAULT 'N' COMMENT '是否VIP Y:是N:否B:品牌设置' AFTER `is_promotional_gifts`,
65 ADD COLUMN `is_limitbuy` enum('Y','N') DEFAULT 'N' COMMENT '是否限购' AFTER `is_vip`, 65 ADD COLUMN `is_limitbuy` enum('Y','N') DEFAULT 'N' COMMENT '是否限购' AFTER `is_vip`,
@@ -80,7 +80,7 @@ ADD INDEX `is_jit` (`is_jit`) comment '', @@ -80,7 +80,7 @@ ADD INDEX `is_jit` (`is_jit`) comment '',
80 ADD INDEX `is_outlets` (`is_outlets`) comment '', 80 ADD INDEX `is_outlets` (`is_outlets`) comment '',
81 ADD INDEX `is_advance` (`is_advance`) comment ''; 81 ADD INDEX `is_advance` (`is_advance`) comment '';
82 82
83 -2base_goods: 83 +2goods:
84 ALTER TABLE `erp_product`.`goods` 84 ALTER TABLE `erp_product`.`goods`
85 ADD COLUMN `model_code` varchar(50) COMMENT '款型编号' AFTER `color_id`, 85 ADD COLUMN `model_code` varchar(50) COMMENT '款型编号' AFTER `color_id`,
86 ADD COLUMN `factory_goods_name` varchar(50) COMMENT '厂家颜色' AFTER `goods_name`; 86 ADD COLUMN `factory_goods_name` varchar(50) COMMENT '厂家颜色' AFTER `goods_name`;