abstract class Marten::DB::Management::Migrations::Diff::Dependency::Base
- Marten::DB::Management::Migrations::Diff::Dependency::Base
- Reference
- Object
Overview
Abstract base class for generated migration operation dependencies.
Direct Known Subclasses
- Marten::DB::Management::Migrations::Diff::Dependency::AddedColumn
- Marten::DB::Management::Migrations::Diff::Dependency::ChangedColumn
- Marten::DB::Management::Migrations::Diff::Dependency::CreatedTable
- Marten::DB::Management::Migrations::Diff::Dependency::RemovedColumn
Defined in:
marten/db/management/migrations/diff/dependency/base.crInstance Method Summary
-
#app_label
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.
Instance Method Detail
abstract
def dependent?(operation : DB::Migration::Operation::Base) : Bool
#
Returns true if the given operation
depends on the considered dependency.