Skip to content
This repository

added support for migrations.yaml file #158

Merged
merged 1 commit into from about 1 month ago

2 participants

pCoLaSD Christophe Coevoet
pCoLaSD

This will enable the support for the yaml file extension according to http://www.yaml.org/faq.html

Christophe Coevoet stof merged commit 4837b4a into from March 03, 2014
Christophe Coevoet stof closed this March 03, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Feb 25, 2014
pCoLaSD added support migrations.yaml file 25a9e39
This page is out of date. Refresh to see the latest.
3  lib/Doctrine/DBAL/Migrations/Tools/Console/Command/AbstractCommand.php
@@ -111,6 +111,9 @@ protected function getMigrationConfiguration(InputInterface $input, OutputInterf
111 111
             } elseif (file_exists('migrations.yml')) {
112 112
                 $configuration = new YamlConfiguration($conn, $outputWriter);
113 113
                 $configuration->load('migrations.yml');
  114
+            } elseif (file_exists('migrations.yaml')) {
  115
+                $configuration = new YamlConfiguration($conn, $outputWriter);
  116
+                $configuration->load('migrations.yaml');
114 117
             } else {
115 118
                 $configuration = new Configuration($conn, $outputWriter);
116 119
             }
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.