* #57: fixed Integrity constraint violation on schema delete