Used to store information related to the domain that is not an additional field.

class Extra extends AbstractModel

Properties summary

Type Property Description
protected $table
protected $fillable Fields that can be 'hydrated' by a find or new call.
$guardedForUpdate Fields that cannot be updated once set.
int $id Autoincrement id for table row
int $domainId related domain unique id
string $name the type of information stored in the value
string $value the value for the extra information
Domain $domain The domain that the extra information belongs to.

Methods summary

Return Type Method Name Description
BelongsTo domain() Each extra record belongs to one domain.
createTable(bool|false $drop = false) Create table schema

Details

BelongsTo domain ()

Each extra record belongs to one domain.

Return Value

BelongsTo

createTable (bool|false $drop = false)

Create table schema

Parameters

bool|false $drop Drop pre-existing tables