Commit 30841665 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Fix migration from 7 to 8

We were leaving potentially scheduled parser tasks behind
parent c61ae2e8
......@@ -41,6 +41,9 @@
"artist_id = " + ArtistTable::Name + ".id_artist"
")",
"INSERT INTO " + TaskTable::Name + " (step, retry_count, file_id, parent_folder_id) "
"SELECT parser_step, parser_retries, id_file, folder_id FROM " + FileTable::Name,
"CREATE TEMPORARY TABLE " + FileTable::Name + "_backup("
"id_file INTEGER PRIMARY KEY AUTOINCREMENT,"
"media_id INT NOT NULL,"
......
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