user_and_role.yaml 367 B

12345678910111213141516
  1. kind: DataContainer
  2. spec:
  3. namespace: # 替换
  4. data_source: # 替换
  5. name: # 替换.user_and_role
  6. spec:
  7. table_name: # 替换.user_and_role
  8. columns:
  9. - name: user_id
  10. type: "varchar(32)"
  11. comment: 用户ID
  12. primary_key: true
  13. - name: role_id
  14. type: "varchar(32)"
  15. comment: 角色ID
  16. primary_key: true