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'); + } +};