See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
<?php | |
trait PrimaryKey | |
{ | |
protected $primaryKey = 'TransactionID'; | |
public static function bootPrimaryKey() | |
{ | |
static::creating(function(self $model) { | |
$pkColumn = $model->primaryKey; | |
$tableName = $model->table; |