diff --git a/goextVersion.go b/goextVersion.go index 5b8ef8b..b89eb66 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.215" +const GoextVersion = "0.0.216" -const GoextVersionTimestamp = "2023-07-27T14:37:11+0200" +const GoextVersionTimestamp = "2023-07-27T17:00:53+0200" diff --git a/sq/hasher.go b/sq/hasher.go index 7a2823d..f272d5a 100644 --- a/sq/hasher.go +++ b/sq/hasher.go @@ -39,7 +39,7 @@ func HashSqliteSchema(ctx context.Context, schemaStr string) (string, error) { return HashSqliteDatabase(ctx, db) } -func HashSqliteDatabase(ctx context.Context, db DB) (string, error) { +func HashSqliteDatabase(ctx context.Context, db Queryable) (string, error) { ss, err := CreateSqliteDatabaseSchemaString(ctx, db) if err != nil { return "", err @@ -50,7 +50,7 @@ func HashSqliteDatabase(ctx context.Context, db DB) (string, error) { return hex.EncodeToString(cs[:]), nil } -func CreateSqliteDatabaseSchemaString(ctx context.Context, db DB) (string, error) { +func CreateSqliteDatabaseSchemaString(ctx context.Context, db Queryable) (string, error) { type colInfo struct { Name string `db:"name"`