记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董敬伟
liquidnet-bus-v1
Commits
fd1b8fe1
Commit
fd1b8fe1
authored
Jun 14, 2021
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:mysql.datetime(3);
parent
1243fa9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
32 deletions
+32
-32
db_ln_adam_initialdata.sql
...quidnet-service-adam-impl/docu/db_ln_adam_initialdata.sql
+32
-32
No files found.
liquidnet-bus-service/liquidnet-service-adam/liquidnet-service-adam-impl/docu/db_ln_adam_initialdata.sql
View file @
fd1b8fe1
...
...
@@ -58,9 +58,9 @@ create table adam_user
passwd
varchar
(
64
),
pay_code
varchar
(
64
),
state
tinyint
comment
'1-NORMAL,2-INVALID'
,
created_at
datetime
not
null
,
updated_at
datetime
,
closed_at
datetime
,
created_at
datetime
(
3
)
not
null
,
updated_at
datetime
(
3
)
,
closed_at
datetime
(
3
)
,
comment
text
)
ENGINE
=
InnoDB
comment
'用户'
;
...
...
@@ -96,8 +96,8 @@ create table adam_real_name
name
varchar
(
30
)
not
null
comment
'真实姓名'
,
id_card
varchar
(
50
)
not
null
comment
'证件号码'
,
state
tinyint
not
null
comment
'0-INIT,1-NORMAL,2-INVALID'
,
created_at
datetime
not
null
,
updated_at
datetime
,
created_at
datetime
(
3
)
not
null
,
updated_at
datetime
(
3
)
,
comment
text
)
engine
=
InnoDB
comment
'实名信息'
;
...
...
@@ -117,9 +117,9 @@ create table adam_enters
is_default
boolean
not
null
default
false
comment
'是否为默认:0-否,1-是,第一个入默认1'
,
#
is_certification
enum
(
'yes'
,
'no'
)
not
null
default
'no'
comment
'入场人的身份证号是否认证'
,
state
tinyint
not
null
comment
'状态:0-INIT,1-NORMAL,2-INVALID'
,
created_at
datetime
not
null
,
updated_at
datetime
,
deleted_at
datetime
,
created_at
datetime
(
3
)
not
null
,
updated_at
datetime
(
3
)
,
deleted_at
datetime
(
3
)
,
comment
text
)
engine
=
InnoDB
comment
=
'入场人'
;
...
...
@@ -141,9 +141,9 @@ create table adam_addresses
is_default
boolean
not
null
default
false
comment
'是否为默认:0-否,1-是,第一个默认1'
,
#
is_certification
enum
(
'yes'
,
'no'
)
not
null
default
'no'
comment
'入场人的身份证号是否认证'
,
state
tinyint
not
null
comment
'状态:0-INIT,1-NORMAL,2-INVALID'
,
created_at
datetime
not
null
,
updated_at
datetime
,
deleted_at
datetime
,
created_at
datetime
(
3
)
not
null
,
updated_at
datetime
(
3
)
,
deleted_at
datetime
(
3
)
,
comment
text
)
engine
=
InnoDB
comment
'收货地址'
;
...
...
@@ -165,9 +165,9 @@ create index idx_addresses_uid on adam_addresses (uid);
#
mobile
varchar
(
50
)
not
null
comment
'手机号'
,
#
admin_id
int
default
0
not
null
comment
'处理人'
,
#
admin_name
varchar
(
255
)
default
''
not
null
comment
'处理人姓名'
,
#
admin_time
datetime
null
comment
'处理时间'
,
#
created_at
datetime
not
null
,
#
updated_at
datetime
#
admin_time
datetime
(
3
)
null
comment
'处理时间'
,
#
created_at
datetime
(
3
)
not
null
,
#
updated_at
datetime
(
3
)
#
)
engine
=
InnoDB
comment
'反馈'
;
-- >>------------------------------------------------------------------------------------
drop
table
if
exists
adam_collection
;
...
...
@@ -178,8 +178,8 @@ create table adam_collection
content_id
varchar
(
64
)
not
null
,
type
varchar
(
30
)
not
null
comment
'收藏类型:VIDEO,TICKET,SITE,ARTIST,BAND,BRAND,STYLE,GOODS,MUSIC,SONG'
,
state
tinyint
default
1
not
null
comment
'1-正常,2-删除'
,
created_at
datetime
not
null
,
updated_at
datetime
,
created_at
datetime
(
3
)
not
null
,
updated_at
datetime
(
3
)
,
comment
text
)
engine
=
InnoDB
comment
'收藏'
;
...
...
@@ -193,8 +193,8 @@ create table adam_disposed
content_id
int
unsigned
not
null
,
type
varchar
(
30
)
not
null
comment
'想去类型:TICKET'
,
state
tinyint
default
1
not
null
comment
'1-正常,2-删除'
,
created_at
datetime
not
null
,
updated_at
datetime
,
created_at
datetime
(
3
)
not
null
,
updated_at
datetime
(
3
)
,
comment
text
)
engine
=
InnoDB
comment
'想去'
;
create
index
idx_disposed_uid
on
adam_disposed
(
uid
);
...
...
@@ -215,8 +215,8 @@ create table adam_member
interests_detail
text
comment
'权益详情'
,
#
gift_pack_id
varchar
(
64
)
comment
'礼包ID'
,
notes
text
NOT
NULL
COMMENT
'注意事项'
,
created_at
datetime
,
updated_at
datetime
,
created_at
datetime
(
3
)
,
updated_at
datetime
(
3
)
,
is_notice
tinyint
comment
'是否展示须知'
,
notice_info
text
comment
'须知内容'
,
notice_title
varchar
(
255
),
...
...
@@ -239,8 +239,8 @@ create table adam_member_price
price_fixed
decimal
(
8
,
2
)
comment
'折扣价'
,
days
int
NOT
NULL
DEFAULT
'0'
COMMENT
'会员包天数'
,
detail
text
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_unicode_ci
NOT
NULL
COMMENT
'会员包须知'
,
created_at
datetime
,
updated_at
datetime
,
created_at
datetime
(
3
)
,
updated_at
datetime
(
3
)
,
comment
text
);
-- >>------------------------------------------------------------------------------------
...
...
@@ -263,9 +263,9 @@ create table adam_member_order
device_from
varchar
(
20
)
comment
'支付终端:app,wap,js,applet'
,
pay_type
varchar
(
20
)
comment
'支付方式:alipay,wepay,vipcode,giftcode'
,
pay_no
varchar
(
64
)
comment
'支付订单'
,
payment_at
datetime
default
null
comment
'支付时间'
,
created_at
datetime
,
updated_at
datetime
,
payment_at
datetime
(
3
)
default
null
comment
'支付时间'
,
created_at
datetime
(
3
)
,
updated_at
datetime
(
3
)
,
client_ip
varchar
(
50
),
source
varchar
(
20
),
version
varchar
(
20
),
...
...
@@ -280,9 +280,9 @@ create table adam_user_member
member_id
varchar
(
255
)
comment
'会员类型id'
,
member_no
int
unsigned
not
null
,
state
tinyint
comment
'1-NORMAL,2-INVALID'
,
expiry_at
datetime
comment
'到期日期'
,
created_at
datetime
,
updated_at
datetime
,
expiry_at
datetime
(
3
)
comment
'到期日期'
,
created_at
datetime
(
3
)
,
updated_at
datetime
(
3
)
,
comment
text
);
-- >>------------------------------------------------------------------------------------
...
...
@@ -296,14 +296,14 @@ create table adam_member_code
member_price_id
varchar
(
255
)
comment
'会员价格ID'
,
member_no
varchar
(
20
)
comment
'预留会员号'
,
state
tinyint
comment
'0-未用,1-已用,2-失效'
,
created_at
datetime
,
updated_at
datetime
,
created_at
datetime
(
3
)
,
updated_at
datetime
(
3
)
,
buy_order_no
varchar
(
255
)
default
null
comment
'购买会员码订单号'
,
buy_uid
varchar
(
255
)
default
null
comment
'购买会员码用户id'
,
buy_at
datetime
default
null
comment
'购买时间'
,
buy_at
datetime
(
3
)
default
null
comment
'购买时间'
,
use_order_no
varchar
(
64
)
default
null
comment
'消费订单号'
,
use_uid
varchar
(
64
)
default
null
comment
'消费用户ID'
,
use_at
datetime
default
null
,
use_at
datetime
(
3
)
default
null
,
comment
text
);
-- >>------------------------------------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment