默认字符串长度200

This commit is contained in:
FalconFly 2024-07-24 09:56:19 +08:00
parent fc4d655514
commit 73d0e32574

View File

@ -25,9 +25,11 @@ namespace CalendarNotepad.Extends
/// </summary>
public void DbInit() {
using var db = new DbContext();
db.CodeFirst.SetStringDefaultLength(200);
db.CodeFirst.InitTables<WorkUnit>();
db.CodeFirst.InitTables<PlusFileUnit>();
db.CodeFirst.InitTables<WorkUnitPlusFile>();
}
/// <summary>