class Marten::DB::Management::Migrations::Diff::Dependency::ChangedColumn


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:



Instance Method Summary

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

def : String, table_name : String, column_name : String) #

[View source]

Instance Method Detail

def app_label : String #

Returns the app label associated with the dependency.

[View source]
def column_name : String #

[View source]
def dependent?(operation : DB::Migration::Operation::Base) : Bool #

Returns true if the given operation depends on the considered dependency.

[View source]
def table_name : String #

[View source]