With bug 373382 an import crash happens when enums are used before defined. Looking at the importer source this crash probably happens also with sql imports.
Git commit 1ffd42f4bf18b254e2b0a39dd859a42e05bfcf62 by Ralf Habacker. Committed on 18/01/2017 at 22:10. Pushed by habacker into branch 'Applications/16.12'. Fix 'SQL Import probably crashes when enums are used before defined'. FIXED-IN:2.12.2 (KDE Applications 16.12.2) M +2 -0 umbrello/codeimport/sqlimport.cpp https://commits.kde.org/umbrello/1ffd42f4bf18b254e2b0a39dd859a42e05bfcf62