Added triggers and changed the db version.