mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
sqlcmig6: add CustomQueries to Queries
In order to be able to use the custom queries with the `sqlcmig6.Queries`, we assert at compile time that `sqlcmig6.Queries` implements the `CustomQueries` interface.
This commit is contained in:
parent
46449aa835
commit
9442c58cc1
1 changed files with 2 additions and 0 deletions
|
|
@ -46,3 +46,5 @@ type CustomQueries interface {
|
|||
// Backend returns the type of the database backend used.
|
||||
Backend() sqldb.BackendType
|
||||
}
|
||||
|
||||
var _ CustomQueries = (*Queries)(nil)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue