Skip to content

Commit

Permalink
Remove IF NOT EXISTS from create database command (#1108)
Browse files Browse the repository at this point in the history
The `IF NOT EXISTS` syntax has been removed from Influxdb v1.0.0
onwards. Ref: influxdata/influxdb#5707

Co-authored-by: Karthick Narendran <kanarend@microsoft.com>
  • Loading branch information
karthick-rn and Karthick Narendran committed Oct 22, 2020
1 parent 9633532 commit 24924a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/influxdb/fluo_metrics_setup.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

# DDL
CREATE USER fluo WITH PASSWORD 'secret' WITH ALL PRIVILEGES
CREATE DATABASE IF NOT EXISTS fluo_metrics
CREATE DATABASE fluo_metrics
CREATE RETENTION POLICY r3d ON fluo_metrics DURATION 3d REPLICATION 1 DEFAULT
CREATE RETENTION POLICY r3m ON fluo_metrics DURATION 12w REPLICATION 1

Expand Down

0 comments on commit 24924a9

Please sign in to comment.