/*!50001 VIEW `mods_view` AS select `restaurant`.`restaurant_id` AS `restaurant_id`,`restaurant`.`restaurant_name` AS `restaurant_name`,`restaurant`.`restaurant_category` AS `restaurant_category`,`restaurant`.`restaurant_longitude` AS `restaurant_longitude`,`restaurant`.`restaurant_latitude` AS `restaurant_latitude`,`restaurant`.`restaurant_opening` AS `restaurant_opening`,`restaurant`.`restaurant_closing` AS `restaurant_closing`,`restaurant`.`user_id` AS `user_id`,NULL AS `food_id`,NULL AS `food_name`,NULL AS `food_description`,NULL AS `food_calories`,NULL AS `drink_id`,NULL AS `drink_name`,NULL AS `drink_description`,NULL AS `ingredient_name`,NULL AS `ingredient_has_alcohol` from `restaurant` where (`restaurant`.`restaurant_is_approved` = FALSE) union select `restaurant`.`restaurant_id` AS `restaurant_id`,`restaurant`.`restaurant_name` AS `restaurant_name`,`restaurant`.`restaurant_category` AS `restaurant_category`,`restaurant`.`restaurant_longitude` AS `restaurant_longitude`,`restaurant`.`restaurant_latitude` AS `restaurant_latitude`,`restaurant`.`restaurant_opening` AS `restaurant_opening`,`restaurant`.`restaurant_closing` AS `restaurant_closing`,`restaurant`.`user_id` AS `user_id`,`food`.`food_id` AS `food_id`,`food`.`food_name` AS `food_name`,`food`.`food_description` AS `food_description`,`food`.`food_calories` AS `food_calories`,NULL AS `drink_id`,NULL AS `drink_name`,NULL AS `drink_description`,`ingredient`.`ingredient_name` AS `ingredient_name`,`ingredient`.`ingredient_has_alcohol` AS `ingredient_has_alcohol` from (((`restaurant` left join `food` on((`restaurant`.`restaurant_id` = `food`.`restaurant_id`))) left join `food_has_ingredient` on((`food`.`food_id` = `food_has_ingredient`.`food_id`))) left join `ingredient` on((`food_has_ingredient`.`ingredient_name` = `ingredient`.`ingredient_name`))) where (`food`.`food_is_approved` = FALSE) union select `restaurant`.`restaurant_id` AS `restaurant_id`,`restaurant`.`restaurant_name` AS `restaurant_name`,`restaurant`.`restaurant_category` AS `restaurant_category`,`restaurant`.`restaurant_longitude` AS `restaurant_longitude`,`restaurant`.`restaurant_latitude` AS `restaurant_latitude`,`restaurant`.`restaurant_opening` AS `restaurant_opening`,`restaurant`.`restaurant_closing` AS `restaurant_closing`,`restaurant`.`user_id` AS `user_id`,NULL AS `food_id`,NULL AS `food_name`,NULL AS `food_description`,NULL AS `food_calories`,`drink`.`drink_id` AS `drink_id`,`drink`.`drink_name` AS `drink_name`,`drink`.`drink_description` AS `drink_description`,`ingredient`.`ingredient_name` AS `ingredient_name`,`ingredient`.`ingredient_has_alcohol` AS `ingredient_has_alcohol` from (((`restaurant` left join `drink` on((`restaurant`.`restaurant_id` = `drink`.`restaurant_id`))) left join `drink_has_ingredient` on((`drink`.`drink_id` = `drink_has_ingredient`.`drink_id`))) left join `ingredient` on((`drink_has_ingredient`.`ingredient_name` = `ingredient`.`ingredient_name`))) where (`drink`.`drink_is_approved` = FALSE) */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `users_view`
--
/*!50001 DROP VIEW IF EXISTS `users_view`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 VIEW `users_view` AS select `restaurant`.`restaurant_id` AS `restaurant_id`,`restaurant`.`restaurant_name` AS `restaurant_name`,`restaurant`.`restaurant_category` AS `restaurant_category`,`restaurant`.`restaurant_longitude` AS `restaurant_longitude`,`restaurant`.`restaurant_latitude` AS `restaurant_latitude`,`restaurant`.`restaurant_opening` AS `restaurant_opening`,`restaurant`.`restaurant_closing` AS `restaurant_closing`,`restaurant`.`user_id` AS `user_id`,NULL AS `food_id`,NULL AS `food_name`,NULL AS `food_description`,NULL AS `food_calories`,NULL AS `drink_id`,NULL AS `drink_name`,NULL AS `drink_description`,NULL AS `ingredient_name`,NULL AS `ingredient_has_alcohol` from `restaurant` where (`restaurant`.`restaurant_is_approved` = TRUE) union select `restaurant`.`restaurant_id` AS `restaurant_id`,`restaurant`.`restaurant_name` AS `restaurant_name`,`restaurant`.`restaurant_category` AS `restaurant_category`,`restaurant`.`restaurant_longitude` AS `restaurant_longitude`,`restaurant`.`restaurant_latitude` AS `restaurant_latitude`,`restaurant`.`restaurant_opening` AS `restaurant_opening`,`restaurant`.`restaurant_closing` AS `restaurant_closing`,`restaurant`.`user_id` AS `user_id`,`food`.`food_id` AS `food_id`,`food`.`food_name` AS `food_name`,`food`.`food_description` AS `food_description`,`food`.`food_calories` AS `food_calories`,NULL AS `drink_id`,NULL AS `drink_name`,NULL AS `drink_description`,`ingredient`.`ingredient_name` AS `ingredient_name`,`ingredient`.`ingredient_has_alcohol` AS `ingredient_has_alcohol` from (((`restaurant` left join `food` on((`restaurant`.`restaurant_id` = `food`.`restaurant_id`))) left join `food_has_ingredient` on((`food`.`food_id` = `food_has_ingredient`.`food_id`))) left join `ingredient` on((`food_has_ingredient`.`ingredient_name` = `ingredient`.`ingredient_name`))) where ((`restaurant`.`restaurant_is_approved` = TRUE) and (`food`.`food_is_approved` = TRUE)) union select `restaurant`.`restaurant_id` AS `restaurant_id`,`restaurant`.`restaurant_name` AS `restaurant_name`,`restaurant`.`restaurant_category` AS `restaurant_category`,`restaurant`.`restaurant_longitude` AS `restaurant_longitude`,`restaurant`.`restaurant_latitude` AS `restaurant_latitude`,`restaurant`.`restaurant_opening` AS `restaurant_opening`,`restaurant`.`restaurant_closing` AS `restaurant_closing`,`restaurant`.`user_id` AS `user_id`,NULL AS `food_id`,NULL AS `food_name`,NULL AS `food_description`,NULL AS `food_calories`,`drink`.`drink_id` AS `drink_id`,`drink`.`drink_name` AS `drink_name`,`drink`.`drink_description` AS `drink_description`,`ingredient`.`ingredient_name` AS `ingredient_name`,`ingredient`.`ingredient_has_alcohol` AS `ingredient_has_alcohol` from (((`restaurant` left join `drink` on((`restaurant`.`restaurant_id` = `drink`.`restaurant_id`))) left join `drink_has_ingredient` on((`drink`.`drink_id` = `drink_has_ingredient`.`drink_id`))) left join `ingredient` on((`drink_has_ingredient`.`ingredient_name` = `ingredient`.`ingredient_name`))) where ((`restaurant`.`restaurant_is_approved` = TRUE) and (`drink`.`drink_is_approved` = TRUE)) */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;