class Marten::DB::Management::Migrations::Diff::Dependency::CreatedTable
- Marten::DB::Management::Migrations::Diff::Dependency::CreatedTable
- Marten::DB::Management::Migrations::Diff::Dependency::Base
- Reference
- Object
Overview
Represents a created table dependency.
This dependency can be used when a specific operation is dependent on a specific table being created first.
Defined in:
marten/db/management/migrations/diff/dependency/created_table.crConstructors
Instance Method Summary
-
#app_label : String
Returns the app label associated with the dependency.
-
#dependent?(operation : DB::Migration::Operation::Base) : Bool
Returns true if the given
operation
depends 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.