sqldb+invoices: move SQL invoice store impl to invoices package
This commit is contained in:
4 files changed
+169
-165
No files matched your search
+2
-2
@@ -1053,12 +1053,12 @@ func (d *DefaultDatabaseBuilder) BuildDatabase(
|
||||
|
||||
executor := sqldb.NewTransactionExecutor(
|
||||
dbs.NativeSQLStore,
|
||||
func(tx *sql.Tx) sqldb.InvoiceQueries {
|
||||
func(tx *sql.Tx) invoices.SQLInvoiceQueries {
|
||||
return dbs.NativeSQLStore.WithTx(tx)
|
||||
},
|
||||
)
|
||||
|
||||
dbs.InvoiceDB = sqldb.NewInvoiceStore(
|
||||
dbs.InvoiceDB = invoices.NewSQLStore(
|
||||
executor, clock.NewDefaultClock(),
|
||||
)
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user