changed table of Moons to RentalMoons
This commit is contained in:
@@ -7,7 +7,7 @@ use Illuminate\Database\Eloquent\Model;
|
||||
class Moon extends Model
|
||||
{
|
||||
// Table Name
|
||||
protected $table = 'Moons';
|
||||
protected $table = 'RentalMoons';
|
||||
|
||||
//Primary Key
|
||||
public $primaryKey = 'id';
|
||||
@@ -20,6 +20,7 @@ class Moon extends Model
|
||||
'System',
|
||||
'Planet',
|
||||
'Moon',
|
||||
'StructureId',
|
||||
'StructureName',
|
||||
'FirstOre',
|
||||
'FirstQuantity',
|
||||
@@ -20,6 +20,7 @@ class MoonRental extends Model
|
||||
'System',
|
||||
'Planet',
|
||||
'Moon',
|
||||
'StructureId',
|
||||
'RentalCorp',
|
||||
'RentalEnd',
|
||||
'Contact',
|
||||
|
||||
@@ -20,6 +20,7 @@ class CreateMoonsTable extends Migration
|
||||
$table->string('System');
|
||||
$table->string('Planet');
|
||||
$table->string('Moon');
|
||||
$table->unsignedBigInteger('StructureId')->nullable();
|
||||
$table->string('StructureName')->default('No Name');
|
||||
$table->string('FirstOre')->default('None');
|
||||
$table->integer('FirstQuantity')->default('0');
|
||||
@@ -41,6 +42,7 @@ class CreateMoonsTable extends Migration
|
||||
$table->string('System');
|
||||
$table->string('Planet');
|
||||
$table->string('Moon');
|
||||
$table->unsignedBigInteger('StructureId')->nullable();
|
||||
$table->string('RentalCorp');
|
||||
$table->dateTime('RentalEnd');
|
||||
$table->string('Contact');
|
||||
|
||||
Reference in New Issue
Block a user