diff --git a/Src/Asp.NetCore2/SqlSugar/Realization/MySql/DbMaintenance/MySqlDbMaintenance.cs b/Src/Asp.NetCore2/SqlSugar/Realization/MySql/DbMaintenance/MySqlDbMaintenance.cs index 261d1c85d..0fe6d34b1 100644 --- a/Src/Asp.NetCore2/SqlSugar/Realization/MySql/DbMaintenance/MySqlDbMaintenance.cs +++ b/Src/Asp.NetCore2/SqlSugar/Realization/MySql/DbMaintenance/MySqlDbMaintenance.cs @@ -275,6 +275,17 @@ namespace SqlSugar #endregion #region Methods + public override bool AddColumnRemark(string columnName, string tableName, string description) + { + //base.AddColumnRemark(columnName, tableName, description); + var message= @"db.DbMaintenance.UpdateColumn(""tablename"", new DbColumnInfo() + {{ + DataType = ""VARCHAR(30) NOT NULL COMMENT 'xxxxx'"", + DbColumnName = ""columnname"" + }})" ; + Check.Exception(true,"MySql no support AddColumnRemark , use " + message); + return true; + } /// ///by current connection string ///