class Marten::DB::Management::Migrations::Diff::Dependency::ChangedColumn
- Marten::DB::Management::Migrations::Diff::Dependency::ChangedColumn
- Marten::DB::Management::Migrations::Diff::Dependency::Base
- Reference
- Object
Overview
Represents a changed column dependency.
This dependency can be used when a specific operation is dependent on a specific column being changed first.
Defined in:
marten/db/management/migrations/diff/dependency/changed_column.crConstructors
Instance Method Summary
- 
        #app_label : String
        
          Returns the app label associated with the dependency. 
- #column_name : String
- 
        #dependent?(operation : DB::Migration::Operation::Base) : Bool
        
          Returns true if the given operationdepends on the considered dependency.
- #table_name : String
Instance methods inherited from class Marten::DB::Management::Migrations::Diff::Dependency::Base
  
  
    
      app_label
    app_label, 
    
  
    
      dependent?(operation : DB::Migration::Operation::Base) : Bool
    dependent?
    
  
    
    
  
    
    
    
  
    
    
    
  
Constructor Detail
Instance Method Detail
        
        def app_label : String
        #
      
      
        
              Description copied from class Marten::DB::Management::Migrations::Diff::Dependency::Base
            
          
          Returns the app label associated with the dependency.
        
        def dependent?(operation : DB::Migration::Operation::Base) : Bool
        #
      
      
        
              Description copied from class Marten::DB::Management::Migrations::Diff::Dependency::Base
            
          
          Returns true if the given operation depends on the considered dependency.