Currently my migration:
$table->string('avatar');
$table->boolean('online')->default(0);
$table->boolean('adult')->default(0);
In the schema : Generated schema for migration
Currently my migration:
$table->string('avatar');
$table->boolean('online')->default(0);
$table->boolean('adult')->default(0);
In the schema : Generated schema for migration
Schema::table('tablename', function ($table) {
$table->tinyInteger('online')->change();
});