Skip to content

Commit

Permalink
docs: update comments for gender and pay_status fields in test_case_m… (
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangshengdev authored and csunny committed Mar 1, 2024
1 parent b71fdab commit 6882c25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/examples/dashboard/test_case_mysql_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def build_table(connection):
name VARCHAR(50) NOT NULL COMMENT '用户名',
email VARCHAR(50) NOT NULL COMMENT '电子邮件',
mobile CHAR(11) NOT NULL COMMENT '手机号码',
gender VARCHAR(20) COMMENT '性别',
gender VARCHAR(20) COMMENT '性别,可选值:Male, Female',
birth DATE COMMENT '出生日期',
country VARCHAR(20) COMMENT '国家',
city VARCHAR(20) COMMENT '城市',
Expand All @@ -36,7 +36,7 @@ def build_table(connection):
product_name VARCHAR(50) NOT NULL COMMENT '产品名称',
product_category VARCHAR(20) COMMENT '产品分类',
amount DECIMAL(10, 2) NOT NULL COMMENT '订单金额',
pay_status VARCHAR(20) COMMENT '付款状态',
pay_status VARCHAR(20) COMMENT '付款状态,可选值:CANCEL, REFUND, SUCCESS, FAILD',
user_id INT(11) NOT NULL COMMENT '用户ID',
user_name VARCHAR(50) COMMENT '用户名',
create_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
Expand Down

0 comments on commit 6882c25

Please sign in to comment.