From 2cd1370b30a760ab9042f6147f5a868f0d1d9938 Mon Sep 17 00:00:00 2001 From: Gustavo Martin Morcuende Date: Mon, 10 Dec 2012 03:05:36 +0100 Subject: [PATCH] I should add even more data in fixtures. Because I do not have backoffice it is going to be needed in order to show more data related to GeneralCategory table during the speech at the university. Load data without causing any trouble in this way: php symfony doctrine:data-load --- data/fixtures/fixtures.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/data/fixtures/fixtures.yml b/data/fixtures/fixtures.yml index f8c20b4..a69100a 100644 --- a/data/fixtures/fixtures.yml +++ b/data/fixtures/fixtures.yml @@ -121,9 +121,14 @@ GeneralCategory: GeneralCategory_Root: children: GeneralCategory_1: + children: + GeneralCategory_5: + children: + GeneralCategory_6: GeneralCategory_2: children: GeneralCategory_3: + GeneralCategory_4: GeneralCategoryDescription: Root_Product: #The root node @@ -146,6 +151,21 @@ GeneralCategoryDescription: GeneralCategory: GeneralCategory_3 general_categ_name: Zapatillas de deporte general_categ_description: Calzado deportivo + Mocasines: + Language: Spanish + GeneralCategory: GeneralCategory_4 + general_categ_name: Mocasines + general_categ_description: Mocasines + Palmeras: + Language: Spanish + GeneralCategory: GeneralCategory_5 + general_categ_name: Palmeras + general_categ_description: Palmeras de chocolate y azúcar + Palmeras_de_chocolate: + Language: Spanish + GeneralCategory: GeneralCategory_6 + general_categ_name: Palmeras de chocolate + general_categ_description: Palmeras de chocolate sin azúcar Ad: BabuchasVerdes: -- 2.1.4