Refactored createTable migration utility
Refactored createTable migration utility

refs https://github.com/TryGhost/Ghost/issues/12567

- The method was using unneeded lodash dependency and was too complex for what it was doing
- Reshuffled internal code to use native JS filter/forEach iterators

ErisDS/Ghost,ErisDS/Ghost,ErisDS/Ghost,bitjson/Ghost,janvt/Ghost,e10/Ghost,janvt/Ghost,TryGhost/Ghost,TryGhost/Ghost,TryGhost/Ghost,e10/Ghost,bitjson/Ghost