From ef5ab30ca29f6a9349d921e1b3b6d6a7dd5d2edf Mon Sep 17 00:00:00 2001 From: Colin Viebrock Date: Sat, 26 May 2012 20:51:35 -0500 Subject: [PATCH] Fix ... thanks Vespakoen! --- laravel/database/schema.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/laravel/database/schema.php b/laravel/database/schema.php index 6290fa4e..a81d5bc3 100644 --- a/laravel/database/schema.php +++ b/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); }