mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-11-24 08:46:48 +08:00
Fixing AutomaticDataMigrations so it doesn't log an expected error when creating the Distributed Lock table
This commit is contained in:
@@ -95,8 +95,6 @@ namespace Orchard.Data.Migration {
|
||||
// Workaround to avoid some Transaction issue for PostgreSQL.
|
||||
if (_shellSettings.DataProvider.Equals("PostgreSql", StringComparison.OrdinalIgnoreCase)) {
|
||||
_transactionManager.RequireNew();
|
||||
distributedLockSchemaBuilder.CreateSchema();
|
||||
return;
|
||||
}
|
||||
|
||||
distributedLockSchemaBuilder.CreateSchema();
|
||||
|
||||
Reference in New Issue
Block a user