Remove MySQL and Sqlite deps (#5910)

This commit is contained in:
Nicolas Dorier
2024-04-15 19:08:25 +09:00
committed by GitHub
parent 9699b3837b
commit f1a04a3bd0
86 changed files with 818 additions and 1729 deletions

View File

@@ -50,12 +50,9 @@ namespace BTCPayServer.Data
.HasForeignKey(o => new { o.WalletId, o.BType, o.BId })
.OnDelete(DeleteBehavior.Cascade);
if (databaseFacade.IsNpgsql())
{
builder.Entity<WalletObjectLinkData>()
.Property(o => o.Data)
.HasColumnType("JSONB");
}
builder.Entity<WalletObjectLinkData>()
.Property(o => o.Data)
.HasColumnType("JSONB");
}
}
}