CRAFTERCMS-819

Improved alter table scripts not to run on each startup