Don't load daemon key on server models automatically.
This commit is contained in:
parent
a31334c0c5
commit
6d217869e0
|
@ -11,6 +11,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
* Databases are now properly paginated when viewing a database host.
|
* Databases are now properly paginated when viewing a database host.
|
||||||
|
* No more loading daemon keys for every server model being loaded, some of us value our databases.
|
||||||
|
|
||||||
## v0.7.4-h1 (Derelict Dermodactylus)
|
## v0.7.4-h1 (Derelict Dermodactylus)
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
|
@ -35,13 +35,6 @@ class Server extends Model implements CleansAttributes, ValidableContract
|
||||||
*/
|
*/
|
||||||
protected $dates = [self::CREATED_AT, self::UPDATED_AT, 'deleted_at'];
|
protected $dates = [self::CREATED_AT, self::UPDATED_AT, 'deleted_at'];
|
||||||
|
|
||||||
/**
|
|
||||||
* Always eager load these relationships on the model.
|
|
||||||
*
|
|
||||||
* @var array
|
|
||||||
*/
|
|
||||||
protected $with = ['key'];
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fields that are not mass assignable.
|
* Fields that are not mass assignable.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue