change
This commit is contained in:
@@ -35,6 +35,9 @@ namespace TechHelper.Context.Configuration
|
||||
.HasColumnName("created_at")
|
||||
.IsRequired(); // 通常创建时间字段是非空的
|
||||
|
||||
builder.Property(aq => aq.Score)
|
||||
.HasColumnName("score");
|
||||
|
||||
// 配置 AssignmentGroupId 列
|
||||
// 该列在数据库中名为 "detail_id"
|
||||
builder.Property(aq => aq.AssignmentGroupId)
|
||||
|
Reference in New Issue
Block a user