Sha256: fe4a104b794969a0b7d0f9b3ed85f05ac33f71563d6ec1391b001ca309bc4410

Contents?: true

Size: 152 Bytes

Versions: 1

Compression:

Stored size: 152 Bytes

Contents

class SetFinishesQuantityDefault < ActiveRecord::Migration
  def up
    change_column :finishes, :quantity, :integer, null: false, default: 1
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
self_systeem-0.1.0 test/dummy_app/db/migrate/20140328040516_set_finishes_quantity_default.rb