alter column laravel code example
Example 1: laravel change column
Schema::table('users', function (Blueprint $table) {
$table->string('name', 50)->nullable()->change();
});
Example 2: migrate to an existing table in laravel commad
public function up()
{
Schema::table('users', function($table) {
$table->integer('paid');
});
}