Added app_statuses table and FK for it in planning_apps