Untitled
unknown
plain_text
2 years ago
885 B
1
Indexable
Never
<?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::create('reservations', function (Blueprint $table) { $table->id(); $table->string('status'); $table->string('source'); $table->dateTime('start'); $table->dateTime('end'); $table->dateTime('cancelled_at')->nullable(); $table->dateTime('created_at_in_pms')->nullable(); $table->timestamps(); $table->softDeletes(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('reservations'); } };