Ver Fonte

Fixed and unified templates to create/disable onu and config

Jean Sumara há 5 anos atrás
pai
commit
f81e2752ac

+ 26 - 0
app/DoctrineMigrations/Version20200221195520.php

@@ -0,0 +1,26 @@
+<?php
+
+
+namespace Application\Migrations;
+
+
+use Doctrine\DBAL\Migrations\AbstractMigration;
+use Doctrine\DBAL\Schema\Schema;
+
+class Version20200221195520 extends AbstractMigration
+{
+    /**
+     * @param Schema $schema
+     */
+    public function up(Schema $schema)
+    {
+        $this->addSql("DELETE FROM action WHERE id in(7,9,10)");
+    }
+
+    /**
+     * @param Schema $schema
+     */
+    public function down(Schema $schema)
+    {
+    }
+}

Diff do ficheiro suprimidas por serem muito extensas
+ 170 - 197
app/DoctrineMigrations/src/action.yml