This commit is contained in:
Mike Schwörer 2023-05-28 19:53:30 +02:00
parent 9daf71e2ed
commit e872dbccec
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF

View File

@ -36,6 +36,10 @@ func HashSqliteSchema(ctx context.Context, schemaStr string) (string, error) {
return "", err return "", err
} }
return HashSqliteDatabase(ctx, db)
}
func HashSqliteDatabase(ctx context.Context, db DB) (string, error) {
ss, err := CreateSqliteDatabaseSchemaString(ctx, db) ss, err := CreateSqliteDatabaseSchemaString(ctx, db)
if err != nil { if err != nil {
return "", err return "", err