From 773efd5dcdcf457b3a9a7a30ef31e43fb751dec2 Mon Sep 17 00:00:00 2001 From: Manuel Raimann Date: Thu, 24 Oct 2024 10:42:46 +0200 Subject: [PATCH] Make salt columns nullable --- clickhouse/migrations/04_create_match_salts_table.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clickhouse/migrations/04_create_match_salts_table.sql b/clickhouse/migrations/04_create_match_salts_table.sql index 17c25f4..0398037 100644 --- a/clickhouse/migrations/04_create_match_salts_table.sql +++ b/clickhouse/migrations/04_create_match_salts_table.sql @@ -2,6 +2,6 @@ CREATE TABLE IF NOT EXISTS match_salts ( match_id UInt64, cluster_id UInt32, - metadata_salt UInt32, - replay_salt UInt32 + metadata_salt Nullable (UInt32), + replay_salt Nullable (UInt32) ) ENGINE = ReplacingMergeTree ORDER BY (match_id);