I have found the solution after Joakim Danielson gave me the tipp about the logging of sql see comment on Question. I needed to reinstall the app after changing some Fields in my Swift Data Model. In other cases maybe a migration script is needed.