We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nutz实体类更改字段时,自动修改数据库字段,但是数据库没有注释
`@Id private Integer id;
@Column("class_id") @Comment("班级ID") private String classId; @Column("course_id") @Comment("课程ID") private String courseId; @Column("teacher_id") @Comment("教师ID") private String teacherId;`
yml文件的配置:
nutz: json: auto-unicode: false quote-name: true ignore-null: true null-as-emtry: true enabled: true mode: compact dao: runtime: add-column: true check-index: false delete-column: false foce-create: false create: true migration: true basepackage: com.zgtech.kernel.model.mapped sqlmanager: paths: - sqls 实体中我写了 在实体中新增字段,数据库能够同步。但是我实体写了实体中我写了 @comment("教师ID")注解的,但是数据库没有注释。这是怎么回事?
nutz: json: auto-unicode: false quote-name: true ignore-null: true null-as-emtry: true enabled: true mode: compact dao: runtime: add-column: true check-index: false delete-column: false foce-create: false create: true migration: true basepackage: com.zgtech.kernel.model.mapped sqlmanager: paths: - sqls
The text was updated successfully, but these errors were encountered:
No branches or pull requests
nutz实体类更改字段时,自动修改数据库字段,但是数据库没有注释
`@Id
private Integer id;
yml文件的配置:
nutz: json: auto-unicode: false quote-name: true ignore-null: true null-as-emtry: true enabled: true mode: compact dao: runtime: add-column: true check-index: false delete-column: false foce-create: false create: true migration: true basepackage: com.zgtech.kernel.model.mapped sqlmanager: paths: - sqls
实体中我写了
在实体中新增字段,数据库能够同步。但是我实体写了实体中我写了
@comment("教师ID")注解的,但是数据库没有注释。这是怎么回事?
The text was updated successfully, but these errors were encountered: