query_rule.yaml 616 B

1234567891011121314151617181920212223242526272829
  1. kind: DataContainer
  2. spec:
  3. namespace: baize
  4. data_source: baize
  5. name: test.query_rules
  6. spec:
  7. table_name: test.query_rules
  8. columns:
  9. - name: id
  10. type: "varchar(32)"
  11. comment: id
  12. primary_key: true
  13. - name: scope
  14. type: varchar(256)
  15. comment: 范围
  16. not_null: true
  17. - name: domain_name
  18. type: varchar(256)
  19. comment: 领域名
  20. not_null: true
  21. - name: rule
  22. type: text
  23. comment: 规则
  24. not_null: true
  25. - name: enabled
  26. type: boolean
  27. comment: 是否启用
  28. not_null: true