2023-06-23 11:13:02 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
|
|
use Illuminate\Support\Facades\Schema;
|
|
|
|
|
2023-08-11 18:48:52 +00:00
|
|
|
return new class extends Migration
|
|
|
|
{
|
2023-06-23 11:13:02 +00:00
|
|
|
/**
|
|
|
|
* Run the migrations.
|
|
|
|
*/
|
|
|
|
public function up(): void
|
|
|
|
{
|
|
|
|
Schema::table('instance_settings', function (Blueprint $table) {
|
|
|
|
$table->boolean('next_channel')->default(false);
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Reverse the migrations.
|
|
|
|
*/
|
|
|
|
public function down(): void
|
|
|
|
{
|
|
|
|
Schema::table('instance_settings', function (Blueprint $table) {
|
|
|
|
$table->dropColumn('next_channel');
|
|
|
|
});
|
|
|
|
}
|
|
|
|
};
|