ticket:58 add view and migrate