默认字符串长度200
This commit is contained in:
parent
fc4d655514
commit
73d0e32574
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user