This commit is contained in:
Mike Schwörer 2023-07-27 17:00:53 +02:00
parent 91f4793678
commit 4f871271e8
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
2 changed files with 4 additions and 4 deletions

View File

@ -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"

View File

@ -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"`