sql_executor.yaml 501 B

1234567891011121314151617181920
  1. kind: DataContainer
  2. spec:
  3. namespace: # 替换
  4. data_source: # 替换
  5. name: # 替换.sql_execute_logs
  6. spec:
  7. table_name: # 替换.sql_execute_logs
  8. columns:
  9. - name: sql
  10. type: text
  11. comment: sql语句
  12. - name: executor_id
  13. type: varchar(32)
  14. comment: 执行人ID
  15. - name: executor_name
  16. type: varchar(256)
  17. comment: 执行人姓名
  18. - name: executed_time
  19. type: "timestamp with time zone"
  20. comment: 执行时间