From 4f871271e879932a6cd4e233f0bcc367f2105f5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Thu, 27 Jul 2023 17:00:53 +0200 Subject: [PATCH] v0.0.216 --- goextVersion.go | 4 ++-- sq/hasher.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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"`