Sfoglia il codice sorgente

:memo: 增加 修改历史表

visuddhinanda 4 anni fa
parent
commit
f3f586361d
1 ha cambiato i file con 21 aggiunte e 1 eliminazioni
  1. 21 1
      documents/zh/api/translation.md

+ 21 - 1
documents/zh/api/translation.md

@@ -97,4 +97,24 @@ CREATE TABLE sent_pr (
     delete_at    BIGINT,
 );
 
-```
+```
+
+# 修改历史
+
+```table
+CREATE TABLE sent_historay (
+    sent_id  CHAR (36),
+    user_id  CHAR (36),
+    text     TEXT,
+    create_at     BIGINT NOT NULL,
+    landmark VARCHAR(32)
+);
+```
+
+`sent_id` 外键 导入后改为int
+
+`user_id` 外键 导入后改为int
+
+`text` 句子文本
+
+`landmark` 里程碑标记