laravel migration to rename table code example Example: laravel rename table Schema::rename($currentTableName, $newTableName);