change datatype column laravel code example
Example: laravel migration change column type
public function up()
{
Schema::table('sometable', function (Blueprint $table) {
$table->text('text')->change();
});
}
public function up()
{
Schema::table('sometable', function (Blueprint $table) {
$table->text('text')->change();
});
}