Explorar el Código

Add registries to table onulog_olt. This table contains result of the execution script in olt.

Gabriel Gosparo hace 6 años
padre
commit
ddbf5f23d4
Se han modificado 1 ficheros con 30 adiciones y 0 borrados
  1. 30 0
      app/DoctrineMigrations/Version20190207143823.php

+ 30 - 0
app/DoctrineMigrations/Version20190207143823.php

@@ -0,0 +1,30 @@
+<?php
+
+namespace Application\Migrations;
+
+use Doctrine\DBAL\Migrations\AbstractMigration;
+use Doctrine\DBAL\Schema\Schema;
+
+/**
+ * Auto-generated Migration: Please modify to your needs!
+ */
+class Version20190207143823 extends AbstractMigration
+{
+    /**
+     * @param Schema $schema
+     */
+    public function up(Schema $schema)
+    {
+        // this up() migration is auto-generated, please modify it to your needs
+        $this->addSql('insert into onulog_olt (`id`, `status`, `directory`, `date`) (select id, "", "", now() from onu);');
+    }
+
+    /**
+     * @param Schema $schema
+     */
+    public function down(Schema $schema)
+    {
+        // this down() migration is auto-generated, please modify it to your needs
+
+    }
+}