91 lines
1.5 KiB
JSON
91 lines
1.5 KiB
JSON
{
|
|
"summary": [
|
|
{
|
|
"name": "sd_deploy_accounts",
|
|
"title": "部署账号",
|
|
"primary": [
|
|
"id"
|
|
],
|
|
"catelog": "entity"
|
|
}
|
|
],
|
|
"fields": [
|
|
{
|
|
"name": "id",
|
|
"title": "主键ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no"
|
|
},
|
|
{
|
|
"name": "user_id",
|
|
"title": "用户ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no"
|
|
},
|
|
{
|
|
"name": "account_name",
|
|
"title": "账号名称",
|
|
"type": "str",
|
|
"length": 64,
|
|
"nullable": "no"
|
|
},
|
|
{
|
|
"name": "deploy_dir",
|
|
"title": "部署目录",
|
|
"type": "str",
|
|
"length": 500,
|
|
"nullable": "no"
|
|
},
|
|
{
|
|
"name": "status",
|
|
"title": "状态",
|
|
"type": "str",
|
|
"length": 20,
|
|
"nullable": "no",
|
|
"default": "active"
|
|
},
|
|
{
|
|
"name": "sandbox_config",
|
|
"title": "沙箱配置",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"title": "创建时间",
|
|
"type": "timestamp",
|
|
"nullable": "no"
|
|
},
|
|
{
|
|
"name": "updated_at",
|
|
"title": "更新时间",
|
|
"type": "timestamp",
|
|
"nullable": "no"
|
|
}
|
|
],
|
|
"indexes": [
|
|
{
|
|
"name": "uk_account_name",
|
|
"idxtype": "unique",
|
|
"idxfields": [
|
|
"account_name"
|
|
]
|
|
},
|
|
{
|
|
"name": "uk_user_id",
|
|
"idxtype": "unique",
|
|
"idxfields": [
|
|
"user_id"
|
|
]
|
|
},
|
|
{
|
|
"name": "idx_status",
|
|
"idxtype": "index",
|
|
"idxfields": [
|
|
"status"
|
|
]
|
|
}
|
|
]
|
|
}
|