From 6a88d0cdfbe477bbc17238b3ec316905aa5a74b1 Mon Sep 17 00:00:00 2001 From: josh Date: Fri, 3 Apr 2026 18:34:07 +1000 Subject: [PATCH] Added Imported Flights Table --- ...3_082244_create_imported_flights_table.php | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 database/migrations/2026_04_03_082244_create_imported_flights_table.php diff --git a/database/migrations/2026_04_03_082244_create_imported_flights_table.php b/database/migrations/2026_04_03_082244_create_imported_flights_table.php new file mode 100644 index 0000000..366b598 --- /dev/null +++ b/database/migrations/2026_04_03_082244_create_imported_flights_table.php @@ -0,0 +1,44 @@ +id(); + $table->foreignId('user_id')->constrained()->cascadeOnDelete(); + + $table->string('date')->nullable(); + $table->string('flight_number')->nullable(); + $table->string('from')->nullable(); + $table->string('to')->nullable(); + $table->string('dep_time')->nullable(); + $table->string('arr_time')->nullable(); + $table->string('duration')->nullable(); + $table->string('airline')->nullable(); + $table->string('aircraft')->nullable(); + $table->string('registration')->nullable(); + $table->string('seat_number')->nullable(); + $table->string('seat_type')->nullable(); + $table->string('flight_class')->nullable(); + $table->string('flight_reason')->nullable(); + $table->text('note')->nullable(); + + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('imported_flights'); + } +};