Creating views and triggers finished