Class: BetterAuth::MigrationPlan::Plan
- Inherits:
-
Struct
- Object
- Struct
- BetterAuth::MigrationPlan::Plan
- Defined in:
- lib/better_auth/migration_plan.rb
Instance Attribute Summary collapse
-
#dialect ⇒ Object
Returns the value of attribute dialect.
-
#tables ⇒ Object
Returns the value of attribute tables.
-
#to_add ⇒ Object
Returns the value of attribute to_add.
-
#to_create ⇒ Object
Returns the value of attribute to_create.
-
#to_index ⇒ Object
Returns the value of attribute to_index.
-
#warnings ⇒ Object
Returns the value of attribute warnings.
Instance Method Summary collapse
Instance Attribute Details
#dialect ⇒ Object
Returns the value of attribute dialect
9 10 11 |
# File 'lib/better_auth/migration_plan.rb', line 9 def dialect @dialect end |
#tables ⇒ Object
Returns the value of attribute tables
9 10 11 |
# File 'lib/better_auth/migration_plan.rb', line 9 def tables @tables end |
#to_add ⇒ Object
Returns the value of attribute to_add
9 10 11 |
# File 'lib/better_auth/migration_plan.rb', line 9 def to_add @to_add end |
#to_create ⇒ Object
Returns the value of attribute to_create
9 10 11 |
# File 'lib/better_auth/migration_plan.rb', line 9 def to_create @to_create end |
#to_index ⇒ Object
Returns the value of attribute to_index
9 10 11 |
# File 'lib/better_auth/migration_plan.rb', line 9 def to_index @to_index end |
#warnings ⇒ Object
Returns the value of attribute warnings
9 10 11 |
# File 'lib/better_auth/migration_plan.rb', line 9 def warnings @warnings end |
Instance Method Details
#empty? ⇒ Boolean
10 11 12 |
# File 'lib/better_auth/migration_plan.rb', line 10 def empty? to_create.empty? && to_add.empty? && to_index.empty? end |