Explorar o código

FD3-643 update migrations para profile, template y action

Espinoza Guillermo %!s(int64=6) %!d(string=hai) anos
pai
achega
ca8a03d46e

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 140 - 104
app/DoctrineMigrations/src/action.yml


+ 1 - 0
app/DoctrineMigrations/src/profile.yml

@@ -6,3 +6,4 @@ insertorupdate:
           upload: 1024000
           upload: 1024000
           download: 3072000
           download: 3072000
           tenancy_id: 1
           tenancy_id: 1
+          template: "template_radius.tpl"

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 15 - 0
app/DoctrineMigrations/src/template.yml


+ 9 - 8
src/FTTHBundle/Entity/Profile.php

@@ -65,6 +65,15 @@ class Profile implements TenancyIdTraitInterface
     protected $template;
     protected $template;
 
 
 
 
+    /**
+     * Constructor
+     */
+    public function __construct()
+    {
+        $this->onus = new \Doctrine\Common\Collections\ArrayCollection();
+        $this->template = 'template_radius.tpl';
+    }
+    
     /**
     /**
      * @return string
      * @return string
      */
      */
@@ -177,14 +186,6 @@ class Profile implements TenancyIdTraitInterface
         return preg_replace("|[^A-Za-z0-9]|", "-", $this->name);
         return preg_replace("|[^A-Za-z0-9]|", "-", $this->name);
     }
     }
     
     
-    /**
-     * Constructor
-     */
-    public function __construct()
-    {
-        $this->onus = new \Doctrine\Common\Collections\ArrayCollection();
-    }
-
     /**
     /**
      * Add onus
      * Add onus
      *
      *