forked from ddrilling/AsbCloudServer
Add logging record
This commit is contained in:
parent
1b01e88040
commit
e409bd4405
@ -10,6 +10,8 @@ namespace AsbCloudDb
|
||||
{
|
||||
public static void EnsureCreatedAndMigrated(this DatabaseFacade db)
|
||||
{
|
||||
var connectionString = db.GetConnectionString();
|
||||
Trace.TraceInformation($"connectionString: {connectionString}");
|
||||
db.SetCommandTimeout(TimeSpan.FromMinutes(5));
|
||||
if (db.EnsureCreated())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user