added primary keys to all models
This commit is contained in:
@@ -9,6 +9,9 @@ class AllianceLookup extends Model
|
||||
//Table Name
|
||||
public $table = 'alliance_lookup';
|
||||
|
||||
//Primary Key
|
||||
public $primaryKey = 'id';
|
||||
|
||||
//Timestamps
|
||||
public $timestamps = false;
|
||||
|
||||
|
||||
@@ -9,6 +9,9 @@ class CharacterLookup extends Model
|
||||
//Table Name
|
||||
public $table = 'character_lookup';
|
||||
|
||||
//Primary Key
|
||||
public $primaryKey = 'id';
|
||||
|
||||
//Timestamps
|
||||
public $timestamps = false;
|
||||
|
||||
|
||||
@@ -9,6 +9,9 @@ class CorporationLookup extends Model
|
||||
//Table Name
|
||||
public $table = 'corporation_lookup';
|
||||
|
||||
//Primary Key
|
||||
public $primaryKey = 'id';
|
||||
|
||||
//Timestamps
|
||||
public $timestamps = false;
|
||||
|
||||
|
||||
@@ -11,6 +11,9 @@ class ItemLookup extends Model
|
||||
*/
|
||||
public $table = 'item_lookup';
|
||||
|
||||
//Primary Key
|
||||
public $primaryKey = 'id';
|
||||
|
||||
/**
|
||||
* Timestamps
|
||||
*/
|
||||
|
||||
@@ -9,6 +9,9 @@ class SolarSystem extends Model
|
||||
//Table Name
|
||||
public $table = 'solar_systems';
|
||||
|
||||
//Primary Key
|
||||
public $primaryKey = 'id';
|
||||
|
||||
//Timestamps
|
||||
public $timestamps = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user