Commit c55360fa by Alain Takoudjou

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

1 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 "\
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!