Sha256: efd7e0e69c676e6e865da97c88ec6b234d44fa69d3143267d96f5e70b263912a

Contents?: true

Size: 224 Bytes

Versions: 16

Compression:

Stored size: 224 Bytes

Contents

class AddDefaultValueToBrickTypeEnabled < ActiveRecord::Migration
  def change
    rename_column :qbrick_brick_types, :disabled, :enabled
    change_column :qbrick_brick_types, :enabled, :boolean, :default => true
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
qbrick-2.7.1 db/migrate/07_add_default_value_to_brick_type_enabled.rb
qbrick-2.7 db/migrate/07_add_default_value_to_brick_type_enabled.rb
qbrick-2.6.10 db/migrate/07_add_default_value_to_brick_type_enabled.rb
qbrick-2.6.9 db/migrate/07_add_default_value_to_brick_type_enabled.rb
qbrick-2.6.8 db/migrate/07_add_default_value_to_brick_type_enabled.rb
qbrick-2.6.7 db/migrate/07_add_default_value_to_brick_type_enabled.rb
qbrick-2.6.6 db/migrate/07_add_default_value_to_brick_type_enabled.rb
qbrick-2.6.5 db/migrate/07_add_default_value_to_brick_type_enabled.rb
qbrick-2.6.4 db/migrate/07_add_default_value_to_brick_type_enabled.rb
qbrick-2.6.3 db/migrate/07_add_default_value_to_brick_type_enabled.rb
qbrick-2.6.2 db/migrate/07_add_default_value_to_brick_type_enabled.rb
qbrick-2.6.1 db/migrate/07_add_default_value_to_brick_type_enabled.rb
qbrick-2.6.0 db/migrate/07_add_default_value_to_brick_type_enabled.rb
qbrick-2.5.2 db/migrate/07_add_default_value_to_brick_type_enabled.rb
qbrick-2.5.1 db/migrate/07_add_default_value_to_brick_type_enabled.rb
qbrick-2.5.0 db/migrate/07_add_default_value_to_brick_type_enabled.rb