src/ORM/FieldType/DBFontIcon.php
public function requireField()
    {
        // Obtain Charset and Collation:
        
        $charset   = MySQLDatabase::config()->charset;
        $collation = MySQLDatabase::config()->collation;
        
        // Define Field Specification:
        
        $spec = [
            'type' => 'varchar',
            'parts' => [
                'datatype' => 'varchar',
                'precision' => 64,
                'collate' => $collation,
                'character set' => $charset,
                'arrayValue' => $this->arrayValue
            ]
        ];
        
        // Require Database Field:
        
        DB::require_field($this->tableName, $this->name, $spec);
    }
public function requireField()
    {
        // Obtain Charset and Collation:
        
        $charset   = MySQLDatabase::config()->charset;
        $collation = MySQLDatabase::config()->collation;
        
        // Define Field Specification:
        
        $spec = [
            'type' => 'varchar',
            'parts' => [
                'datatype' => 'varchar',
                'precision' => 64,
                'collate' => $collation,
                'character set' => $charset,
                'arrayValue' => $this->arrayValue
            ]
        ];
        
        // Require Database Field:
        
        DB::require_field($this->tableName, $this->name, $spec);
    }
public function requireField ( ) { // Obtain Charset and Collation: $ charset = MySQLDatabase :: config ( ) -> charset ; $ collation = MySQLDatabase :: config ( ) -> collation ; // Define Field Specification: $ spec = [ 'type' => 'varchar' , 'parts' => [ 'datatype' => 'varchar' , 'precision' => 64 , 'collate' => $ collation , 'character set' => $ charset , 'arrayValue' => $ this -> arrayValue ] ] ; // Require Database Field: DB :: require_field ( $ this -> tableName , $ this -> name , $ spec ) ; }
Adds the field to the underlying database.

@return void
Adds the field to the underlying database .