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.2.2 db/migrate/07_add_default_value_to_brick_type_enabled.rb