Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

feat: update ClickHouse migration to use official image version 25.11

Andras Bacsai2c3a610538fb
diff --git a/database/migrations/2025_11_28_000001_migrate_clickhouse_to_official_image.php b/database/migrations/2025_11_28_000001_migrate_clickhouse_to_official_image.php
index 4e8528c12e..56167496c8 100644
--- a/database/migrations/2025_11_28_000001_migrate_clickhouse_to_official_image.php
+++ b/database/migrations/2025_11_28_000001_migrate_clickhouse_to_official_image.php
@@ -28,7 +28,7 @@ return new class extends Migration
// Change the default value for the 'image' column to the official image
Schema::table('standalone_clickhouses', function (Blueprint $table) {
- $table->string('image')->default('clickhouse/clickhouse-server:latest')->change();
+ $table->string('image')->default('clickhouse/clickhouse-server:25.11')->change();
});
// Update existing ClickHouse instances from Bitnami images to official image
@@ -37,7 +37,7 @@ return new class extends Migration
->orWhere('image', 'like', '%bitnamilegacy/clickhouse%');
})
->update([
- 'image' => 'clickhouse/clickhouse-server:latest',
+ 'image' => 'clickhouse/clickhouse-server:25.11',
'clickhouse_db' => DB::raw("COALESCE(clickhouse_db, 'default')"),
]);
@@ -58,7 +58,7 @@ return new class extends Migration
});
// Revert existing ClickHouse instances back to Bitnami image
- StandaloneClickhouse::where('image', 'clickhouse/clickhouse-server:latest')
+ StandaloneClickhouse::where('image', 'clickhouse/clickhouse-server:25.11')
->update(['image' => 'bitnamilegacy/clickhouse']);
// Revert volume mount paths