Explorar el Código

调整字段顺序

visuddhinanda hace 4 años
padre
commit
10e0a68858
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      documents/zh/api/article.md

+ 2 - 2
documents/zh/api/article.md

@@ -15,9 +15,9 @@ CREATE TABLE article (
     setting      JSON,
     status       INTEGER   NOT NULL DEFAULT (10),
 	version     INTEGER NOT NULL DEFAULT (1),
+    deleted_at  TIMESTAMP,
     created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
-    updated_at  TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
-    deleted_at  TIMESTAMP
+    updated_at  TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
 );
 
 ```