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

29 lines
614 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->text("video_token")->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('appointments', function (Blueprint $table) {
$table->dropColumn("video_token");
});
}
};