Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: pure execute

d-bytebase32fff1757eb7
diff --git a/backend/resources/postgres/sample_instance.go b/backend/resources/postgres/sample_instance.go
index 0ac9e0ba86..24243b35a8 100644
--- a/backend/resources/postgres/sample_instance.go
+++ b/backend/resources/postgres/sample_instance.go
@@ -229,7 +229,7 @@ func prepareSampleDatabaseIfNeeded(ctx context.Context, pgUser, host, port, data
}
defer driver.Close(ctx)
- if _, err := driver.Execute(ctx, sampleData, false, db.ExecuteOptions{}); err != nil {
+ if _, err := driver.GetDB().ExecContext(ctx, sampleData); err != nil {
return errors.Wrapf(err, "failed to load sample database data")
}
return nil