operate_log.yaml 977 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. kind: DataContainer
  2. spec:
  3. namespace: baize
  4. data_source: baize
  5. name: test.operate_logs
  6. spec:
  7. table_name: test.operate_logs
  8. columns:
  9. - name: resource
  10. type: varchar(256)
  11. comment: 资源名称
  12. index: true
  13. not_null: true
  14. - name: resource_id
  15. type: varchar(256)
  16. comment: 资源名称
  17. index: true
  18. not_null: true
  19. - name: operate
  20. type: varchar(256)
  21. comment: 操作
  22. index: true
  23. not_null: true
  24. - name: operator_id
  25. type: varchar(256)
  26. comment: 操作者ID
  27. index: true
  28. not_null: true
  29. - name: operator_name
  30. type: varchar(256)
  31. comment: 操作者
  32. index: true
  33. not_null: true
  34. - name: operate_time
  35. type: "timestamp with time zone"
  36. comment: 操作时间
  37. not_null: true
  38. - name: content
  39. type: text
  40. comment: 日志内容
  41. not_null: true