family.yaml 842 B

1234567891011121314151617181920212223242526272829303132333435
  1. kind: DataContainer
  2. spec:
  3. namespace: baize
  4. data_source: baize
  5. name: test.families
  6. spec:
  7. table_name: test.families
  8. columns:
  9. - name: id
  10. type: varchar(32)
  11. comment: id
  12. primary_key: true
  13. - name: father
  14. type: varchar(128)
  15. comment: 父亲姓名
  16. not_null: true
  17. index: true
  18. - name: mother
  19. type: varchar(128)
  20. comment: 母亲姓名
  21. not_null: true
  22. index: true
  23. - name: student_id
  24. type: varchar(32)
  25. comment: 家庭ID
  26. not_null: true
  27. index: true
  28. - name: created_time
  29. type: "timestamp with time zone"
  30. comment: 创建时间
  31. not_null: true
  32. - name: last_updated_time
  33. type: "timestamp with time zone"
  34. comment: 最近更新时间
  35. not_null: true