ConstraintColumn
trait ConstraintColumn (Voir la source)
Méthodes
                    addForeign(string $name, array $attributes = [])
        
                                            
                
            Add Foreign KEY constraints
                    dropForeign(string $name)
        
                                            
                
            Drop constraintes column;
                    addIndex(string $name)
        
                                            
                
            Add table index;
                    dropIndex(string $name)
        
                                            
                
            Drop table index;
                    dropPrimary()
        
                                            
                
            Drop primary column;
                    addUnique(string $name)
        
                                            
                
            Add table unique;
                    dropUnique(string $name)
        
                                            
                
            Drop table unique;
Détails
        
                            SQLGenerator
    addForeign(string $name, array $attributes = [])
        
    
    Add Foreign KEY constraints
        
                            SQLGenerator
    dropForeign(string $name)
        
    
    Drop constraintes column;
        
                            SQLGenerator
    addIndex(string $name)
        
    
    Add table index;
        
                            SQLGenerator
    dropIndex(string $name)
        
    
    Drop table index;
        
                            SQLGenerator
    dropPrimary()
        
    
    Drop primary column;
        
                            SQLGenerator
    addUnique(string $name)
        
    
    Add table unique;
        
                            SQLGenerator
    dropUnique(string $name)
        
    
    Drop table unique;