vault backup: 2026-01-19 22:33:16

This commit is contained in:
wubaoyong
2026-01-19 22:33:16 +08:00
parent f5ac738c35
commit 279a1e78a6
16 changed files with 233 additions and 79 deletions

17
sql.md Normal file
View File

@@ -0,0 +1,17 @@
### DDL 创建
```sql
CREATE TABLE agent_enterprise_relation
(
id INT AUTO_INCREMENT PRIMARY KEY,
agent_id INT NOT NULL,
ent_id INT NOT NULL,
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
updated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
UNIQUE KEY idx_agent_ent (agent_id, ent_id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
```
### DDL修改
```sql
```