change table name laravel migrate code example Example: laravel rename table Schema::rename($currentTableName, $newTableName);