refactor: MySql 与 MongoDB 增加 UNDONE 提示

#Comment
没有环境暂时未写相关代码
This commit is contained in:
Argo Zhang 2019-10-02 18:29:43 +08:00
parent 36f9e1cd70
commit 509de4ddaf
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
2 changed files with 3 additions and 2 deletions

View File

@ -11,7 +11,7 @@
/// </summary>
public override void CheckDB(string folder)
{
// 没有环境暂时未写代码
// UNDONE: 没有环境暂时未写代码
}
}
}

View File

@ -35,6 +35,7 @@ namespace Bootstrap.DataAccess
break;
case "MySqlDatabaseProvider":
case "MariaDbDatabaseProvider":
// UNDONE: 本地没有环境此处代码未测试
if (db.ExecuteScalar<int>("select count(*) from information_schema.tables where table_name ='Users' and Table_Schema = 'BootstrapAdmin'") == 0) GenerateMySql();
break;
}
@ -87,7 +88,7 @@ namespace Bootstrap.DataAccess
private void GenerateMySql()
{
// 没有环境暂时未写代码
// UNDONE: 没有环境暂时未写代码
}
}
}