Fix bug with MySQL Installation caused by new Migration

This commit is contained in:
Charles Nurse
2021-05-21 16:38:48 -07:00
parent 6f123c0fff
commit 342dae4aa7
3 changed files with 25 additions and 2 deletions

View File

@ -20,6 +20,14 @@ namespace Oqtane.Migrations
public Expression<Func<TEntityBuilder, object>> Column { get;}
public string ColumnName
{
get
{
var body = Column.Body.ToString();
return body.Substring(body.IndexOf(".") + 1);
}
}
public ReferentialAction OnDeleteAction { get; }
public string PrincipalTable { get; }