From 2c3a610538fbe7610ef985c52cd4e722c1a5afe5 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Wed, 17 Dec 2025 11:37:27 +0100 Subject: [PATCH] feat: update ClickHouse migration to use official image version 25.11 --- ...25_11_28_000001_migrate_clickhouse_to_official_image.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 4e8528c12..56167496c 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 @@ public function up(): void // 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 @@ public function up(): void ->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 @@ public function down(): void }); // 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