[Akonadi] [Bug 354536] Akonadi fails to migrate database from version 30 (foreign key constraint fails)

Lukáš Karas via KDE Bugzilla bugzilla_noreply at kde.org
Thu Oct 29 10:37:29 GMT 2015


https://bugs.kde.org/show_bug.cgi?id=354536

--- Comment #1 from Lukáš Karas <lukas.karas at centrum.cz> ---
This bug was probably solved for PostgreSQL backend by commit
54e1f0979a894d289110a1a71618ce7be54fe595 (
https://quickgit.kde.org/?p=akonadi.git&a=commit&h=54e1f0979a894d289110a1a71618ce7be54fe595
). In commit message Dan mentions that it should not happen with mysql backend. 

This problem did not affect MySQL which creates the FKs as part of CREATE TABLE
queries, or SQLite because we don't support FKs there (yet). 

I don't know why, but I don't have these FK in my database... What changes that
FK check works now? Should we add similar DELETE commands to dbupdate.xml for
mysql backend? For which db version? 31?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list