From 45fe556c8a62918a97d7d50e5bbcb6bd6190ae7d Mon Sep 17 00:00:00 2001 From: Mateja Date: Mon, 19 Oct 2020 21:14:30 +0200 Subject: Migrations --- ...2020_10_18_142649_create_reservations_table.php | 43 ---------------------- ...2020_10_19_210000_create_reservations_table.php | 43 ++++++++++++++++++++++ 2 files changed, 43 insertions(+), 43 deletions(-) delete mode 100644 database/migrations/2020_10_18_142649_create_reservations_table.php create mode 100644 database/migrations/2020_10_19_210000_create_reservations_table.php (limited to 'database') diff --git a/database/migrations/2020_10_18_142649_create_reservations_table.php b/database/migrations/2020_10_18_142649_create_reservations_table.php deleted file mode 100644 index 812d544..0000000 --- a/database/migrations/2020_10_18_142649_create_reservations_table.php +++ /dev/null @@ -1,43 +0,0 @@ -id(); - $table->boolean('approved')->default(false); - $table->unsignedBigInteger('specialCall') - $table->dateTime('fromTime'); - $table->dateTime('toTime'); - $table->string('frequencies', 255); - $table->string('modes', 255); - $table->string('operatorCall'); - $table->string('operatorName'); - $table->string('operatorEmail'); - $table->string('operatorPhone', 50); - $table->integer('qso')->default(0); - $table->timestamps(); - $table->foreign('specialCall')->references('id')->on('special_calls'); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('reservations'); - } -} diff --git a/database/migrations/2020_10_19_210000_create_reservations_table.php b/database/migrations/2020_10_19_210000_create_reservations_table.php new file mode 100644 index 0000000..ad24f3d --- /dev/null +++ b/database/migrations/2020_10_19_210000_create_reservations_table.php @@ -0,0 +1,43 @@ +id(); + $table->boolean('approved')->default(false); + $table->unsignedBigInteger('specialCall'); + $table->dateTime('fromTime'); + $table->dateTime('toTime'); + $table->string('frequencies', 255); + $table->string('modes', 255); + $table->string('operatorCall'); + $table->string('operatorName'); + $table->string('operatorEmail'); + $table->string('operatorPhone', 50); + $table->integer('qso')->default(0); + $table->timestamps(); + $table->foreign('specialCall')->references('id')->on('special_calls'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('reservations'); + } +} -- cgit v1.2.3