fixed sql installation for contao version >= 3.x