mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 14:40:36 +01:00
* Remove only dependency on Dbriize (TextSearch in new invoice column) * Switch to table for invoice text search * Adding missing using after rebase * Removing database migration in preparation for refresh * Database Migration: Adding InvoiceSearchData * Refactoring InvoicesRepository to make AddToTextSearch static and non-async Operation as async is too expensive for simple filtering and AddRange * Renaming InvoiceQuery property to Take More inline with what property does by convention, Take is used in conjuction with Skip * Refactoring SettingsRepository so update of settings can happen in another context * Adding DbMigrationsHostedService that performs long running data migrations * Commenting special placing of MigrationStartupTask * Simplifying code and leaving comment on expected flow * Resolving problems after merge * Database Migration: Refreshing database migration, ensuring no unintended changes on ModelSnapshot Co-authored-by: rockstardev <rockstardev@users.noreply.github.com> Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
20 lines
720 B
C#
20 lines
720 B
C#
namespace BTCPayServer.Services
|
|
{
|
|
public class MigrationSettings
|
|
{
|
|
public bool UnreachableStoreCheck { get; set; }
|
|
public bool DeprecatedLightningConnectionStringCheck { get; set; }
|
|
public bool ConvertMultiplierToSpread { get; set; }
|
|
public bool ConvertNetworkFeeProperty { get; set; }
|
|
public bool ConvertCrowdfundOldSettings { get; set; }
|
|
public bool ConvertWalletKeyPathRoots { get; set; }
|
|
public bool CheckedFirstRun { get; set; }
|
|
public override string ToString()
|
|
{
|
|
return string.Empty;
|
|
}
|
|
|
|
// Done in DbMigrationsHostedService
|
|
public int? MigratedInvoiceTextSearchPages { get; set; }
|
|
}
|
|
}
|