Sha256: 9538d22c985e511c8d81778c31439abe75cd9900a4a3ba1a676e15243f93b72e

Contents?: true

Size: 222 Bytes

Versions: 99

Compression:

Stored size: 222 Bytes

Contents

class AddColumnsToProducts < ActiveRecord::Migration[6.0]
  def change
    change_table :products do |table|
      table.string :name
      table.belongs_to(:manufacturer)
      table.belongs_to(:driver)
    end
  end
end

Version data entries

99 entries across 99 versions & 1 rubygems

Version Path
forest_liana-9.11.1 spec/dummy/db/migrate/20220727114930_add_columns_to_products.rb
forest_liana-9.11.0 spec/dummy/db/migrate/20220727114930_add_columns_to_products.rb
forest_liana-9.10.6 spec/dummy/db/migrate/20220727114930_add_columns_to_products.rb
forest_liana-9.10.5 spec/dummy/db/migrate/20220727114930_add_columns_to_products.rb
forest_liana-9.10.4 spec/dummy/db/migrate/20220727114930_add_columns_to_products.rb
forest_liana-9.10.3 spec/dummy/db/migrate/20220727114930_add_columns_to_products.rb
forest_liana-9.10.2 spec/dummy/db/migrate/20220727114930_add_columns_to_products.rb
forest_liana-9.10.1 spec/dummy/db/migrate/20220727114930_add_columns_to_products.rb
forest_liana-9.10.0 spec/dummy/db/migrate/20220727114930_add_columns_to_products.rb
forest_liana-9.9.1 spec/dummy/db/migrate/20220727114930_add_columns_to_products.rb
forest_liana-9.9.0 spec/dummy/db/migrate/20220727114930_add_columns_to_products.rb
forest_liana-9.8.0 spec/dummy/db/migrate/20220727114930_add_columns_to_products.rb
forest_liana-9.7.0 spec/dummy/db/migrate/20220727114930_add_columns_to_products.rb
forest_liana-9.6.4 spec/dummy/db/migrate/20220727114930_add_columns_to_products.rb
forest_liana-9.6.3 spec/dummy/db/migrate/20220727114930_add_columns_to_products.rb
forest_liana-9.6.0 spec/dummy/db/migrate/20220727114930_add_columns_to_products.rb
forest_liana-9.5.7 spec/dummy/db/migrate/20220727114930_add_columns_to_products.rb
forest_liana-9.5.6 spec/dummy/db/migrate/20220727114930_add_columns_to_products.rb
forest_liana-9.5.5 spec/dummy/db/migrate/20220727114930_add_columns_to_products.rb
forest_liana-9.5.4 spec/dummy/db/migrate/20220727114930_add_columns_to_products.rb