mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 18:33:27 +08:00
优化升级脚本
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
create table if not exists CoreCmsTopUpType
|
||||
(
|
||||
id int auto_increment comment '序列'
|
||||
primary key,
|
||||
title varchar(50) not null comment '标题',
|
||||
defaultMoney int default 0 not null comment '充值金额',
|
||||
giftMoney int default 0 not null comment '赠送金额',
|
||||
giftPoint int default 0 not null comment '赠送积分',
|
||||
sortId int default 1 not null comment '显示排序',
|
||||
isEnable bit default b'1' not null comment '是否启用',
|
||||
description varchar(100) charset utf8 null comment '说明'
|
||||
)
|
||||
comment '充值类型';
|
||||
@@ -1,4 +1,4 @@
|
||||
INSERT INTO coreshop.CoreCmsTopUpType (id, title, defaultMoney, giftMoney, giftPoint, sortId, isEnable, description) VALUES (1, '冲100送10', 100, 10, 0, 3, true, '冲100送10');
|
||||
INSERT INTO coreshop.CoreCmsTopUpType (id, title, defaultMoney, giftMoney, giftPoint, sortId, isEnable, description) VALUES (2, '冲10元送5元', 1, 5, 7, 4, true, '冲10元送5元');
|
||||
INSERT INTO coreshop.CoreCmsTopUpType (id, title, defaultMoney, giftMoney, giftPoint, sortId, isEnable, description) VALUES (3, '冲500送50', 500, 50, 0, 2, true, '冲500送50');
|
||||
INSERT INTO coreshop.CoreCmsTopUpType (id, title, defaultMoney, giftMoney, giftPoint, sortId, isEnable, description) VALUES (4, '冲1000送120', 1000, 120, 0, 1, true, '冲1000送120');
|
||||
INSERT INTO CoreCmsTopUpType (id, title, defaultMoney, giftMoney, giftPoint, sortId, isEnable, description) VALUES (1, '冲100送10', 100, 10, 0, 3, true, '冲100送10');
|
||||
INSERT INTO CoreCmsTopUpType (id, title, defaultMoney, giftMoney, giftPoint, sortId, isEnable, description) VALUES (2, '冲10元送5元', 1, 5, 7, 4, true, '冲10元送5元');
|
||||
INSERT INTO CoreCmsTopUpType (id, title, defaultMoney, giftMoney, giftPoint, sortId, isEnable, description) VALUES (3, '冲500送50', 500, 50, 0, 2, true, '冲500送50');
|
||||
INSERT INTO CoreCmsTopUpType (id, title, defaultMoney, giftMoney, giftPoint, sortId, isEnable, description) VALUES (4, '冲1000送120', 1000, 120, 0, 1, true, '冲1000送120');
|
||||
|
||||
Reference in New Issue
Block a user