Sha256: 2e6c17744308f26cd30d818d2a0984f9adde46244bf42d7017ac26892ae04ceb

Contents?: true

Size: 226 Bytes

Versions: 61

Compression:

Stored size: 226 Bytes

Contents

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

Version data entries

61 entries across 61 versions & 2 rubygems

Version Path
kuhsaft-1.6.0 db/migrate/07_add_default_value_to_brick_type_enabled.rb
kuhsaft-1.5.0 db/migrate/07_add_default_value_to_brick_type_enabled.rb
kuhsaft-1.4.3 db/migrate/07_add_default_value_to_brick_type_enabled.rb
kuhsaft-1.4.2 db/migrate/07_add_default_value_to_brick_type_enabled.rb
kuhsaft-1.4.1 db/migrate/07_add_default_value_to_brick_type_enabled.rb
kuhsaft-1.4.0 db/migrate/07_add_default_value_to_brick_type_enabled.rb
kuhsaft-1.3.1 db/migrate/07_add_default_value_to_brick_type_enabled.rb
kuhsaft-1.2.15 db/migrate/07_add_default_value_to_brick_type_enabled.rb
kuhsaft-1.2.14 db/migrate/07_add_default_value_to_brick_type_enabled.rb
kuhsaft-1.2.13 db/migrate/07_add_default_value_to_brick_type_enabled.rb
kuhsaft-1.2.12 db/migrate/07_add_default_value_to_brick_type_enabled.rb
kuhsaft-1.2.11 db/migrate/07_add_default_value_to_brick_type_enabled.rb
kuhsaft-1.2.10 db/migrate/07_add_default_value_to_brick_type_enabled.rb
kuhsaft-1.2.9 db/migrate/07_add_default_value_to_brick_type_enabled.rb
kuhsaft-1.2.8 db/migrate/07_add_default_value_to_brick_type_enabled.rb
kuhsaft-1.2.7 db/migrate/07_add_default_value_to_brick_type_enabled.rb
kuhsaft-1.2.6 db/migrate/07_add_default_value_to_brick_type_enabled.rb
kuhsaft-1.2.5 db/migrate/07_add_default_value_to_brick_type_enabled.rb
kuhsaft-1.2.4 db/migrate/07_add_default_value_to_brick_type_enabled.rb
kuhsaft-1.2.3 db/migrate/07_add_default_value_to_brick_type_enabled.rb