public function attributes() { $attributes = $this->definition('attributes'); if (is_array($attributes) && in_array('unsigned', $attributes)) { $this->field->unsigned(); } }