Colonne de changement Laravel
Schema::table('users', function (Blueprint $table) {
$table->string('name', 50)->nullable()->change();
});
Alberto Peripolli
Schema::table('users', function (Blueprint $table) {
$table->string('name', 50)->nullable()->change();
});
Schema::rename($currentTableName, $newTableName);