add mysql structure updates, including constraint, views and triggers