added primary keys to all models

This commit is contained in:
2021-03-10 23:29:30 +09:00
parent 91bde37441
commit 4db6dac439
35 changed files with 197 additions and 19 deletions
+3
View File
@@ -9,6 +9,9 @@ class AllianceLookup extends Model
//Table Name
public $table = 'alliance_lookup';
//Primary Key
public $primaryKey = 'id';
//Timestamps
public $timestamps = false;
+3
View File
@@ -9,6 +9,9 @@ class CharacterLookup extends Model
//Table Name
public $table = 'character_lookup';
//Primary Key
public $primaryKey = 'id';
//Timestamps
public $timestamps = false;
+3
View File
@@ -9,6 +9,9 @@ class CorporationLookup extends Model
//Table Name
public $table = 'corporation_lookup';
//Primary Key
public $primaryKey = 'id';
//Timestamps
public $timestamps = false;
+3
View File
@@ -11,6 +11,9 @@ class ItemLookup extends Model
*/
public $table = 'item_lookup';
//Primary Key
public $primaryKey = 'id';
/**
* Timestamps
*/
+3
View File
@@ -9,6 +9,9 @@ class SolarSystem extends Model
//Table Name
public $table = 'solar_systems';
//Primary Key
public $primaryKey = 'id';
//Timestamps
public $timestamps = false;