rejuvallife/database/migrations/2024_01_31_232405_adding_timenn_change.php
2024-10-25 01:02:11 +05:00

30 lines
621 B
PHP

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('appointments', function (Blueprint $table) {
$table->dropColumn('timezone');
});
Schema::table('appointments', function (Blueprint $table) {
$table->string('timezone')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
//
}
};