lasthourcloud/database/migrations/2023_06_23_110548_next_channel_updates.php

28 lines
633 B
PHP
Raw Normal View History

2023-06-23 11:13:02 +00:00
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
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');
});
}
};