method createColumn documentation in bbn\Db\Languages\Mysql
Creates the given column for the given table.
function(string $table, string $column, array $col)
  {
    if (($table = $this->tableFullName($table, true)) && Str::checkName($column)) {
      $column_definition = $this->getColumnDefinitionStatement($column, $col);
      if (!empty($col['after']) && is_string($col['after'])) {
        $column_definition .= " AFTER " . $this->escape($col['after']);
      }
      return (bool)$this->rawQuery("ALTER TABLE $table ADD $column_definition");
    }
    return false;
  }
  Creates the given column for the given table. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
  
  
    
    
      
        
        
      
    
    
    
      
      
      
      
      
        
          
          
          
          
          
          
          
          
            
              
                
              
            
            
              
              This website uses cookies to ensure you get the best experience on our website.                
                
              
              
                
                
              
             
           
          
          
          
            
            © 2011-2025 
BBN Solutions