Commit c55360fa authored by Alain Takoudjou's avatar Alain Takoudjou

collect.db: do not try to create index if already exists

parent 48141037
......@@ -48,7 +48,7 @@ class Database:
" io_cycles_counter real, date text, time text, " \
" reported integer NULL DEFAULT 0)"
CREATE_USER_PARTITION_DATE_TIME_INDEX = "CREATE INDEX user_partition_date_time ON"\
CREATE_USER_PARTITION_DATE_TIME_INDEX = "CREATE INDEX IF NOT EXISTS user_partition_date_time ON"\
" user (partition, date, time)"
CREATE_FOLDER_TABLE = "create table if not exists folder "\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment