修改部分枚举字段的编号与注释确保 0 值的正确语义
This commit is contained in:
@@ -51,7 +51,7 @@ comment on column admin.name is '真实姓名';
|
||||
comment on column admin.avatar is '头像URL';
|
||||
comment on column admin.phone is '手机号码';
|
||||
comment on column admin.email is '邮箱';
|
||||
comment on column admin.status is '状态:1-正常,0-禁用';
|
||||
comment on column admin.status is '状态:0-禁用,1-正常';
|
||||
comment on column admin.last_login is '最后登录时间';
|
||||
comment on column admin.last_login_host is '最后登录地址';
|
||||
comment on column admin.last_login_agent is '最后登录代理';
|
||||
@@ -132,7 +132,7 @@ comment on column "user".username is '用户名';
|
||||
comment on column "user".phone is '手机号码';
|
||||
comment on column "user".name is '真实姓名';
|
||||
comment on column "user".avatar is '头像URL';
|
||||
comment on column "user".status is '用户状态:1-正常,0-禁用';
|
||||
comment on column "user".status is '用户状态:0-禁用,1-正常';
|
||||
comment on column "user".balance is '账户余额';
|
||||
comment on column "user".id_type is '认证类型:0-未认证,1-个人认证,2-企业认证';
|
||||
comment on column "user".id_no is '身份证号或营业执照号';
|
||||
@@ -211,10 +211,10 @@ comment on column client.grant_code is '允许授权码授予';
|
||||
comment on column client.grant_client is '允许客户端凭证授予';
|
||||
comment on column client.grant_refresh is '允许刷新令牌授予';
|
||||
comment on column client.grant_password is '允许密码授予';
|
||||
comment on column client.spec is '安全规范:0-web,1-native,2-browser';
|
||||
comment on column client.spec is '安全规范:1-native,2-browser,3-web';
|
||||
comment on column client.name is '名称';
|
||||
comment on column client.icon is '图标URL';
|
||||
comment on column client.status is '状态:1-正常,0-禁用';
|
||||
comment on column client.status is '状态:0-禁用,1-正常';
|
||||
comment on column client.created_at is '创建时间';
|
||||
comment on column client.updated_at is '更新时间';
|
||||
comment on column client.deleted_at is '删除时间';
|
||||
@@ -416,7 +416,7 @@ comment on column proxy.id is '代理服务ID';
|
||||
comment on column proxy.version is '代理服务版本';
|
||||
comment on column proxy.name is '代理服务名称';
|
||||
comment on column proxy.host is '代理服务地址';
|
||||
comment on column proxy.type is '代理服务类型:0-自有,1-三方';
|
||||
comment on column proxy.type is '代理服务类型:1-三方,2-自有';
|
||||
comment on column proxy.secret is '代理服务密钥';
|
||||
comment on column proxy.created_at is '创建时间';
|
||||
comment on column proxy.updated_at is '更新时间';
|
||||
@@ -455,7 +455,7 @@ comment on column node.id is '节点ID';
|
||||
comment on column node.version is '节点版本';
|
||||
comment on column node.name is '节点名称';
|
||||
comment on column node.host is '节点地址';
|
||||
comment on column node.isp is '运营商:0-其他,1-电信,2-联通,3-移动';
|
||||
comment on column node.isp is '运营商:0-未知,1-电信,2-联通,3-移动';
|
||||
comment on column node.prov is '省份';
|
||||
comment on column node.city is '城市';
|
||||
comment on column node.proxy_id is '代理ID';
|
||||
@@ -582,7 +582,7 @@ comment on column product.code is '产品代码';
|
||||
comment on column product.name is '产品名称';
|
||||
comment on column product.description is '产品描述';
|
||||
comment on column product.sort is '排序';
|
||||
comment on column product.status is '产品状态:1-正常,0-禁用';
|
||||
comment on column product.status is '产品状态:0-禁用,1-正常';
|
||||
comment on column product.created_at is '创建时间';
|
||||
comment on column product.updated_at is '更新时间';
|
||||
comment on column product.deleted_at is '删除时间';
|
||||
@@ -728,7 +728,7 @@ comment on column trade.id is '订单ID';
|
||||
comment on column trade.user_id is '用户ID';
|
||||
comment on column trade.inner_no is '内部订单号';
|
||||
comment on column trade.outer_no is '外部订单号';
|
||||
comment on column trade.type is '订单类型:0-充值余额,1-购买产品';
|
||||
comment on column trade.type is '订单类型:1-购买产品,2-充值余额';
|
||||
comment on column trade.subject is '订单主题';
|
||||
comment on column trade.remark is '订单备注';
|
||||
comment on column trade.amount is '订单总金额';
|
||||
@@ -816,7 +816,7 @@ comment on column bill.resource_id is '套餐ID';
|
||||
comment on column bill.refund_id is '退款ID';
|
||||
comment on column bill.bill_no is '易读账单号';
|
||||
comment on column bill.info is '产品可读信息';
|
||||
comment on column bill.type is '账单类型:0-充值,1-消费,2-退款';
|
||||
comment on column bill.type is '账单类型:1-消费,2-退款,3-充值';
|
||||
comment on column bill.amount is '账单金额';
|
||||
comment on column bill.created_at is '创建时间';
|
||||
comment on column bill.updated_at is '更新时间';
|
||||
|
||||
Reference in New Issue
Block a user