original_string: protected function addPrimaryKeys(Blueprint $blueprint)
      {
          $primary = $this->getCommandByName($blueprint, 'primary');
  
          if (! is_null($primary)) {
              $columns = $this->columnize($primary->columns);
  
              return ", primary key ({$columns})";
          }
      }
code: protected function addPrimaryKeys(Blueprint $blueprint)
      {
          $primary = $this->getCommandByName($blueprint, 'primary');
  
          if (! is_null($primary)) {
              $columns = $this->columnize($primary->columns);
  
              return ", primary key ({$columns})";
          }
      }
code_tokens: protected function addPrimaryKeys ( Blueprint $ blueprint ) { $ primary = $ this -> getCommandByName ( $ blueprint , 'primary' ) ; if ( ! is_null ( $ primary ) ) { $ columns = $ this -> columnize ( $ primary -> columns ) ; return ", primary key ({$columns})" ; } }
docstring: Get the primary key syntax for a table creation statement.
  
  @param  \Nova\Database\Schema\Blueprint  $blueprint
  @return string|null
docstring_tokens: Get the primary key syntax for a table creation statement .