Changeset View
Changeset View
Standalone View
Standalone View
src/app/Traits/UuidIntKeyTrait.php
Show All 32 Lines | trait UuidIntKeyTrait | ||||
* Get if the key is incrementing. | * Get if the key is incrementing. | ||||
* | * | ||||
* @return bool | * @return bool | ||||
*/ | */ | ||||
public function getIncrementing() | public function getIncrementing() | ||||
{ | { | ||||
return false; | return false; | ||||
} | } | ||||
/** | |||||
* Get the key type. | |||||
* | |||||
* @return string | |||||
*/ | |||||
public function getKeyType() | |||||
{ | |||||
return 'bigint'; | |||||
} | |||||
} | } |