CRAFTERCMS-802
Updated SQL scripts.