btcpayserver/BTCPayServer/Services/Invoices
Andrew Camilleri 39b5462809
Remove only dependency on Dbriize (TextSearch in new invoice column) (#2029)
* 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>
2020-12-28 19:10:53 +09:00
..
Export Create Metadata property for InvoiceEntity, migrate all data without logic there 2020-08-26 21:36:31 +09:00
InvoiceEntity.cs Add checkoutLink and defaultLanguage to GreenField invoice 2020-12-11 12:04:18 +09:00
InvoiceRepository.cs Remove only dependency on Dbriize (TextSearch in new invoice column) (#2029) 2020-12-28 19:10:53 +09:00
PaymentMethodDictionary.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
PaymentMethodHandlerDictionary.cs Fix exception in CreateInvoice if a payment method is not supported 2019-06-07 00:45:10 +09:00