Skip to content

Commit e7c521c

Browse files
committed
Delete large files
1 parent e4466fb commit e7c521c

3 files changed

Lines changed: 31 additions & 0 deletions

File tree

chat2db-client/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@
1010

1111

1212
/release
13+
/static

document/git/git.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# https://www.zhangbj.com/p/1437.html
2+
# -r 代表递归
3+
#
4+
git filter-branch --force --index-filter 'git rm -r --cached --ignore-unmatch chat2db-client/static' --prune-empty --tag-name-filter cat -- --all
5+
git push origin developing --force
6+
git push origin delete_git --force

document/sql/mysql.sql

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
create table goods
2+
(
3+
id int unsigned primary key auto_increment comment’商品id’,
4+
category_id int unsigned not null default 0 comment’分类id’,
5+
spu_id int unsigned not null default 0 comment’SPU id’,
6+
sn varchar(20) not null default ‘’ comment’编号’,
7+
name varchar(120) not null default ‘‘comment’名称’,
8+
keyword varchar(255) not null default ‘’ comment’关键字’,
9+
picture varchar(255) not null default ’’ comment’图片’,
10+
tips varchar(255) not null default ‘’ comment’提示’,
11+
description varchar(255) not null default ‘’ comment’描述’,
12+
content text not null comment’详情’,
13+
price decimal(10, 2) unsigned not null default 0 comment ‘价格’,
14+
stock int unsigned not null default 0 comment ‘库存’,
15+
score decimal(3, 2) unsigned not null default 0 comment’评分’,
16+
is_on_sale tinyint unsigned not null default 0 comment’是否上架’,
17+
is_del tinyint unsigned not null default 0 comment’是否删除’,
18+
is_free_shipping tinyint unsigned not null default 0 comment’是否包邮’,
19+
sell_count int unsigned not null default 0 comment’销量计数’,
20+
comment int unsigned not null default 0 comment’评论计数’,
21+
on_sale_time datetime default null comment’上架时间’,
22+
create_time datetime not null default current_timestamp comment’创建时间’,
23+
update_time datetime default null comment’更新时间’
24+
);

0 commit comments

Comments
 (0)