file datatype in laravel migration code example
Example 1: laravel rollback last migration
php artisan migrate:rollback --step=1
Example 2: laravel migration change column type
public function up()
{
Schema::table('sometable', function (Blueprint $table) {
$table->text('text')->change();
});
}
Example 3: laravel migration integer
$table->bigInteger('votes');