Sha256: 62bb9d01d8e662fa690bceec9713ecfe868f2400bd552dbbd941b5d4c6e46f75
Contents?: true
Size: 198 Bytes
Versions: 10
Compression:
Stored size: 198 Bytes
Contents
class AddColumnThatAllowsNil < (Rails::VERSION::MAJOR >= 5 ? ActiveRecord::Migration[4.2] : ActiveRecord::Migration) def change add_column :products, :optional_price_cents, :integer end end
Version data entries
10 entries across 10 versions & 1 rubygems