ruanwenjun commented on code in PR #15554:
URL: 
https://github.com/apache/dolphinscheduler/pull/15554#discussion_r1565175338


##########
dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_postgresql.sql:
##########
@@ -1993,11 +1993,15 @@ CREATE TABLE t_ds_task_group (
 DROP TABLE IF EXISTS t_ds_audit_log;
 CREATE TABLE t_ds_audit_log (
     id serial NOT NULL,
-    user_id int NOT NULL,
-    resource_type int NOT NULL,
-    operation int NOT NULL,
-    time timestamp DEFAULT NULL ,
-    resource_id int NOT NULL,
+    user_id         int NOT NULL,
+    model_id        bigint NOT NULL,
+    model_name      VARCHAR(255) NOT NULL,
+    model_type      VARCHAR(255) NOT NULL,
+    operation_type  VARCHAR(255) NOT NULL,
+    description     VARCHAR(255) NOT NULL,
+    latency         int NOT NULL,
+    detail          VARCHAR(255) DEFAULT NULL,
+    time            timestamp DEFAULT NULL ,

Review Comment:
   ```suggestion
       create_time            timestamp DEFAULT NULL ,
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to