Created
April 17, 2014 22:43
-
-
Save jwpage/11015647 to your computer and use it in GitHub Desktop.
Move implied commands to the end
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Illuminate/Database/Schema/Blueprint.php b/src/Illuminate/Database/Schema/Blueprint.php | |
index 836d013..888599b 100755 | |
--- a/src/Illuminate/Database/Schema/Blueprint.php | |
+++ b/src/Illuminate/Database/Schema/Blueprint.php | |
@@ -105,7 +105,7 @@ class Blueprint { | |
{ | |
if (count($this->columns) > 0 && ! $this->creating()) | |
{ | |
- array_unshift($this->commands, $this->createCommand('add')); | |
+ array_push($this->commands, $this->createCommand('add')); | |
} | |
$this->addFluentIndexes(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment