plugins/tests/TestDB.yml
Star b68fc4d2c1 add testcase
add dao support for db
2024-03-09 13:43:14 +08:00

30 lines
727 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

- group: account
comment: 账号相关
tables:
- name: user
comment: 用户表
fields:
- name: id
comment: 用户编号
type: INTEGER
index: pk
extra: AUTO_INCREMENT
- name: name
comment: 姓名
type: VARCHAR(30)
- name: phone
comment: 手机号
type: VARCHAR(20)
index: unique
- name: addDate
comment: 创建时间
type: DATETIME
index: index
- name: version
comment: 数据版本号
type: INTEGER
index: index
- name: isValid
comment: 是否有效1-启用0-禁用)
type: INTEGER