Kaynağa Gözat

Merge branch 'master' of https://gitlab.com/interlink-sa/flowdat3/modules/ftth into stats_command#1

Jean Sumara Leopoldo 5 yıl önce
ebeveyn
işleme
21b0e5e9c7

+ 30 - 0
app/DoctrineMigrations/Version20200512153756.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 Version20200512153756 extends AbstractMigration
+{
+    /**
+     * @param Schema $schema
+     */
+    public function up(Schema $schema)
+    {
+        // this up() migration is auto-generated, please modify it to your needs
+        $this->addSql("ALTER TABLE template ADD UNIQUE (name)");
+    }
+
+    /**
+     * @param Schema $schema
+     */
+    public function down(Schema $schema)
+    {
+        // this down() migration is auto-generated, please modify it to your needs
+
+    }
+}

+ 14 - 0
app/DoctrineMigrations/src/oltmodel.yml

@@ -80,3 +80,17 @@ insertorupdate:
             library: "OIDSFurukawaG8SV1"
             extra_data: "{\r\n\"model\": \"Furukawa-G8S-v1\"\r\n}"
             tenancy_id: 1
+        -
+            id: 12
+            name: "Huawei MA5608T-v2"
+            mark: "Huawei"
+            library: "OIDSHuaweiV1"
+            extra_data: "{\r\n\"model\": \"Huawei-MA5608T-v2\",\r\n\"auto-create-service-ports\" : true\r\n}"
+            tenancy_id: 1
+        -
+            id: 13
+            name: "Huawei MA5800-v1"
+            mark: "Huawei"
+            library: "OIDSHuaweiV1"
+            extra_data: "{\r\n\"model\": \"Huawei-MA5800-v1\",\r\n\"auto-create-service-ports\" : true\r\n}"
+            tenancy_id: 1

Dosya farkı çok büyük olduğundan ihmal edildi
+ 40 - 0
app/DoctrineMigrations/src/template.yml