Version20180124175322.php 607 B

123456789101112131415161718192021222324252627
  1. <?php
  2. namespace Application\Migrations;
  3. use Doctrine\DBAL\Migrations\AbstractMigration;
  4. use Doctrine\DBAL\Schema\Schema;
  5. use MigrationsBundle\Migrations\MigrationsBase;
  6. /**
  7. * Auto-generated Migration: Please modify to your needs!
  8. */
  9. class Version20180124175322 extends MigrationsBase
  10. {
  11. /**
  12. * @param Schema $schema
  13. */
  14. public function up(Schema $schema)
  15. {
  16. $files = array("action.yml", "olt_model.yml", "onu_model.yml", "template.yml");
  17. foreach($files as $f){
  18. $this->executeYaml(__DIR__ . "/Version20180124175322/", $f);
  19. }
  20. $this->showResult();
  21. }
  22. }