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

MediaLibrary: Fix migration from 7 to 8

parent 931a4fc3
......@@ -916,6 +916,8 @@ void MediaLibrary::migrateModel7to8()
sqlite::Tools::executeRequest( getConn(), req );
// Re-create triggers removed in the process
Artist::createTriggers( getConn(), 8u );
Media::createTriggers( getConn() );
File::createTriggers( getConn() );
t->commit();
}
......
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