Skip to content
  • Lukáš Karas's avatar
    Clean orphaned relations when upgrading DB schema to r31 · 989f7eba
    Lukáš Karas authored and Daniel Vrátil's avatar Daniel Vrátil committed
    Commit 54e1f097 introduced automatic recovery of missing foreign keys during
    startup (this has been accompanied by DB schema upgrade to revision 31). If
    they FKs were previously missing MySQL will fail to create the keys and Akonadi
    startup will fail.
    
    To make sure there are no inconsistencies in DB we manually delete all orphaned
    relations before proceeding with the DB check.
    
    BUG: 354536
    FIXED-IN: 15.12.3
    989f7eba