Refactor commit_message column length to 50 characters
This commit is contained in:
@@ -27,7 +27,7 @@ class ApplicationDeploymentQueue extends Model
|
||||
if (empty($this->commit_message) || is_null($this->commit_message)) {
|
||||
return null;
|
||||
}
|
||||
return str($this->commit_message)->trim()->limit(300)->value();
|
||||
return str($this->commit_message)->trim()->limit(50)->value();
|
||||
}
|
||||
public function addLogEntry(string $message, string $type = 'stdout', bool $hidden = false)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user