Replaced `TYPE` with `ENGINE` in SQL patch, because `TYPE` is deprecated.