testing
This commit is contained in:
@@ -15,7 +15,7 @@ class Structure extends Model
|
|||||||
public $table = 'alliance_structures';
|
public $table = 'alliance_structures';
|
||||||
|
|
||||||
//Primary Key
|
//Primary Key
|
||||||
public $primaryKey = 'structure_id';
|
public $primaryKey = 'id';
|
||||||
|
|
||||||
//Timestamps
|
//Timestamps
|
||||||
public $timestamps = false;
|
public $timestamps = false;
|
||||||
|
|||||||
@@ -15,7 +15,8 @@ class CorporationAssetsTable extends Migration
|
|||||||
{
|
{
|
||||||
if(!Schema::hasTable('alliance_structures')) {
|
if(!Schema::hasTable('alliance_structures')) {
|
||||||
Schema::create('alliance_structures', function(Blueprint $table) {
|
Schema::create('alliance_structures', function(Blueprint $table) {
|
||||||
$table->string('structure_id')->primary()->unique();
|
$table->increments('id');
|
||||||
|
$table->string('structure_id')->unique();
|
||||||
$table->string('structure_name');
|
$table->string('structure_name');
|
||||||
$table->string('solar_system_id');
|
$table->string('solar_system_id');
|
||||||
$table->string('solar_system_name')->nullable();
|
$table->string('solar_system_name')->nullable();
|
||||||
|
|||||||
Reference in New Issue
Block a user