diff --git a/dbal/connect.go b/dbal/connect.go deleted file mode 100644 index 6733abb7..00000000 --- a/dbal/connect.go +++ /dev/null @@ -1,4 +0,0 @@ -// Copyright © 2023 Ory Corp -// SPDX-License-Identifier: Apache-2.0 - -package dbal diff --git a/dbal/driver.go b/dbal/driver.go index 1410543a..f80fae5b 100644 --- a/dbal/driver.go +++ b/dbal/driver.go @@ -4,6 +4,7 @@ package dbal import ( + "context" "strings" "sync" @@ -26,6 +27,7 @@ type Driver interface { // Ping returns nil if the driver has connectivity and is healthy or an error otherwise. Ping() error + PingContext(context.Context) error } // RegisterDriver registers a driver