mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-21 15:04:21 +01:00
Remove MySQL and Sqlite deps (#5910)
This commit is contained in:
@@ -18,11 +18,9 @@ public class StoreSettingData
|
||||
builder.Entity<StoreSettingData>()
|
||||
.HasOne(o => o.Store)
|
||||
.WithMany(o => o.Settings).OnDelete(DeleteBehavior.Cascade);
|
||||
if (databaseFacade.IsNpgsql())
|
||||
{
|
||||
builder.Entity<StoreSettingData>()
|
||||
.Property(o => o.Value)
|
||||
.HasColumnType("JSONB");
|
||||
}
|
||||
|
||||
builder.Entity<StoreSettingData>()
|
||||
.Property(o => o.Value)
|
||||
.HasColumnType("JSONB");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user