change column type laravel migration without delete data\ code example
Example: laravel migration remove column
public function up()
{
Schema::table('table', function($table) {
$table->dropColumn('column_name');
});
}
public function up()
{
Schema::table('table', function($table) {
$table->dropColumn('column_name');
});
}