student.yaml 566 B

1234567891011121314151617181920212223242526
  1. kind: DataContainer
  2. spec:
  3. namespace: baize
  4. data_source: baize
  5. name: test.students
  6. spec:
  7. table_name: test.students
  8. columns:
  9. - name: id
  10. type: varchar(32)
  11. comment: id
  12. primary_key: true
  13. - name: name
  14. type: varchar(128)
  15. comment: 姓名
  16. not_null: true
  17. index: true
  18. - name: age
  19. type: integer
  20. comment: 年龄
  21. not_null: true
  22. index: true
  23. - name: enter_time
  24. type: "timestamp with time zone"
  25. comment: 入学时间
  26. not_null: true