v0.0.216
This commit is contained in:
parent
91f4793678
commit
4f871271e8
@ -1,5 +1,5 @@
|
|||||||
package goext
|
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"
|
||||||
|
@ -39,7 +39,7 @@ func HashSqliteSchema(ctx context.Context, schemaStr string) (string, error) {
|
|||||||
return HashSqliteDatabase(ctx, db)
|
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)
|
ss, err := CreateSqliteDatabaseSchemaString(ctx, db)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
@ -50,7 +50,7 @@ func HashSqliteDatabase(ctx context.Context, db DB) (string, error) {
|
|||||||
return hex.EncodeToString(cs[:]), nil
|
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 {
|
type colInfo struct {
|
||||||
Name string `db:"name"`
|
Name string `db:"name"`
|
||||||
|
Loading…
Reference in New Issue
Block a user