diff options
Diffstat (limited to 'database')
-rw-r--r-- | database/migrations/2020_10_19_210000_create_reservations_table.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/database/migrations/2020_10_19_210000_create_reservations_table.php b/database/migrations/2020_10_19_210000_create_reservations_table.php index ad24f3d..6709d88 100644 --- a/database/migrations/2020_10_19_210000_create_reservations_table.php +++ b/database/migrations/2020_10_19_210000_create_reservations_table.php @@ -16,7 +16,8 @@ class CreateReservationsTable extends Migration Schema::create('reservations', function (Blueprint $table) { $table->id(); $table->boolean('approved')->default(false); - $table->unsignedBigInteger('specialCall'); + //$table->unsignedBigInteger('specialCall'); + $table->string('specialCall', 50); $table->dateTime('fromTime'); $table->dateTime('toTime'); $table->string('frequencies', 255); @@ -27,7 +28,7 @@ class CreateReservationsTable extends Migration $table->string('operatorPhone', 50); $table->integer('qso')->default(0); $table->timestamps(); - $table->foreign('specialCall')->references('id')->on('special_calls'); + //$table->foreign('specialCall')->references('id')->on('special_calls'); }); } |