updating moon controller, moon rentals, and moon mailer

This commit is contained in:
2019-02-13 08:04:49 -06:00
parent c818a7ae05
commit 7565d87913
7 changed files with 138 additions and 48 deletions

View File

@@ -0,0 +1,38 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMoonRentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('moon_rents', function (Blueprint $table) {
$table->increments('id');
$table->string('System');
$table->string('Planet');
$table->string('Moon');
$table->string('RentalCorp');
$table->dateTime('RentalEnd');
$table->string('Contact');
$table->float('Price', 20, 2);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('moon_rents');
}
}