Преглед на файлове

Agregado de la migracion de templates

gabriel преди 7 години
родител
ревизия
72a799843c
променени са 2 файла, в които са добавени 90 реда и са изтрити 0 реда
  1. 71 0
      app/DoctrineMigrations/Templates20171205183401/inicio.yml
  2. 19 0
      app/DoctrineMigrations/Version20171205183401.php

Файловите разлики са ограничени, защото са твърде много
+ 71 - 0
app/DoctrineMigrations/Templates20171205183401/inicio.yml


+ 19 - 0
app/DoctrineMigrations/Version20171205183401.php

@@ -0,0 +1,19 @@
+<?php
+
+namespace Application\Migrations;
+
+use Doctrine\DBAL\Migrations\AbstractMigration;
+use Doctrine\DBAL\Schema\Schema;
+use MigrationsBundle\Migrations\MigrationsBase;
+
+/**
+ * Auto-generated Migration: Please modify to your needs!
+ */
+class Version20171205183401 extends MigrationsBase
+{
+    public function postUp(Schema $schema)
+    {
+        $this->executeYaml(__DIR__ . "/Templates20171205183401/", "inicio.yml");
+        $this->showResult();
+    }
+}