diff --git a/Src/Asp.Net/SqlSugar/Realization/Sqlite/DbMaintenance/SqliteDbMaintenance.cs b/Src/Asp.Net/SqlSugar/Realization/Sqlite/DbMaintenance/SqliteDbMaintenance.cs index 4124a08dd..2c93d877c 100644 --- a/Src/Asp.Net/SqlSugar/Realization/Sqlite/DbMaintenance/SqliteDbMaintenance.cs +++ b/Src/Asp.Net/SqlSugar/Realization/Sqlite/DbMaintenance/SqliteDbMaintenance.cs @@ -258,6 +258,15 @@ namespace SqlSugar #endregion #region Methods + public override void AddDefaultValue(EntityInfo entityInfo) + { + Console.WriteLine("sqlite no support AddDefaultValue"); + } + public override bool AddDefaultValue(string tableName, string columnName, string defaultValue) + { + Console.WriteLine("sqlite no support AddDefaultValue"); + return true; + } public override bool TruncateTable(string tableName) { base.TruncateTable(tableName);//delete data diff --git a/Src/Asp.NetCore2/SqlSugar/Realization/Sqlite/DbMaintenance/SqliteDbMaintenance.cs b/Src/Asp.NetCore2/SqlSugar/Realization/Sqlite/DbMaintenance/SqliteDbMaintenance.cs index 5ae2d6ab3..cc4d60b46 100644 --- a/Src/Asp.NetCore2/SqlSugar/Realization/Sqlite/DbMaintenance/SqliteDbMaintenance.cs +++ b/Src/Asp.NetCore2/SqlSugar/Realization/Sqlite/DbMaintenance/SqliteDbMaintenance.cs @@ -255,6 +255,15 @@ namespace SqlSugar #endregion #region Methods + public override void AddDefaultValue(EntityInfo entityInfo) + { + Console.WriteLine("sqlite no support AddDefaultValue"); + } + public override bool AddDefaultValue(string tableName, string columnName, string defaultValue) + { + Console.WriteLine("sqlite no support AddDefaultValue"); + return true; + } public override bool TruncateTable(string tableName) { base.TruncateTable(tableName);//delete data