diff --git a/lib/db/maintain/scripts.js b/lib/db/maintain/scripts.js index aac4b8ad..1311c878 100644 --- a/lib/db/maintain/scripts.js +++ b/lib/db/maintain/scripts.js @@ -198,7 +198,7 @@ module.exports.traces = [ ] module.exports.overall_dist = [ - `CREATE TABLE {{DB}}.metrics_15s_dist {{{OnCluster}}} ( + `CREATE TABLE IF NOT EXISTS {{DB}}.metrics_15s_dist {{{OnCluster}}} ( \`fingerprint\` UInt64, \`timestamp_ns\` Int64 CODEC(DoubleDelta), \`last\` AggregateFunction(argMax, Float64, Int64),