Class: AddCrashCountToDuctworkAdvancements
- Inherits:
-
Ductwork::Migration
- Object
- Ductwork::Migration
- AddCrashCountToDuctworkAdvancements
- Defined in:
- lib/generators/ductwork/update/templates/db/add_crash_count_to_ductwork_advancements.rb
Instance Method Summary collapse
Methods included from Ductwork::MigrationHelper
#belongs_to, #create_ductwork_table, #mysql?, #postgresql?, #uuid_column_type
Instance Method Details
#change ⇒ Object
4 5 6 |
# File 'lib/generators/ductwork/update/templates/db/add_crash_count_to_ductwork_advancements.rb', line 4 def change add_column :ductwork_advancements, :crash_count, :integer end |