updating moon controller, moon rentals, and moon mailer
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user