From: Gustavo Martin Morcuende Date: Mon, 10 Dec 2012 02:05:36 +0000 (+0100) Subject: I should add even more data in fixtures. X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=2cd1370b30a760ab9042f6147f5a868f0d1d9938;p=mobi%2F.git 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 --- 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: