Browse Source

Fix ... thanks Vespakoen!

Colin Viebrock 12 years ago
parent
commit
ef5ab30ca2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      laravel/database/schema.php

+ 2 - 2
laravel/database/schema.php

@@ -47,14 +47,14 @@ class Schema {
 	 * @param  string  $name
 	 * @return void
 	 */
-	public static function rename($table, $rename)
+	public static function rename($table, $new_name)
 	{
 		$table = new Schema\Table($table);
 
 		// To indicate that the table needs to be renamed, we will run the
 		// "rename" command on the table instance and pass the instance to
 		// the execute method as calling a Closure isn't needed.
-		$table->rename($name);
+		$table->rename($new_name);
 
 		return static::execute($table);
 	}