Browse Source

Add ignore command.

Gabriel Gosparo 6 years ago
parent
commit
547fd6583b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/DoctrineMigrations/Version20190207143823.php

+ 1 - 1
app/DoctrineMigrations/Version20190207143823.php

@@ -16,7 +16,7 @@ class Version20190207143823 extends AbstractMigration
     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);');
+        $this->addSql('insert ignore into onulog_olt (`id`, `status`, `directory`, `date`) (select id, "", "", now() from onu);');
     }
 
     /**