kind: Namespace spec: name: ns-sdk-demo --- kind: DataSource spec: type: database namespace: ns-sdk-demo name: ds-sdk-demo spec: type: postgres user_name: test password: "123456" address: "10.0.0.84" port: "30432" database: test max_connections: 40 max_idle_connections: 10 --- kind: DataContainer spec: namespace: ns-sdk-demo data_source: ds-sdk-demo name: dc-sdk-demo spec: table_name: test.classes columns: - name: id type: varchar(32) comment: id primary_key: true - name: name type: varchar(128) comment: 班名 not_null: true - name: student_num type: integer comment: 学生数量 default: 60 - name: student_ids type: text comment: 学生ID not_null: true - name: graduated_time type: "timestamp with time zone" comment: 毕业时间 - name: created_time type: "timestamp with time zone" comment: 创建时间 not_null: true - name: last_updated_time type: "timestamp with time zone" comment: 最近更新时间 not_null: true