Sha256: 7bdce4bd572bb3628a7eab8a82881b0f8cde7b1d0e93925810757addff2f055e

Contents?: true

Size: 220 Bytes

Versions: 32

Compression:

Stored size: 220 Bytes

Contents

class RenamePresentInReferenceTable < ActiveRecord::Migration[4.2]
  def up
    rename_column :card_references, :present, :is_present
  end

  def down
    rename_column :card_references, :is_present, :present
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
card-1.105.6 db/migrate/20190929202325_rename_present_in_reference_table.rb
card-1.105.5 db/migrate/20190929202325_rename_present_in_reference_table.rb
card-1.105.4 db/migrate/20190929202325_rename_present_in_reference_table.rb
card-1.105.3 db/migrate/20190929202325_rename_present_in_reference_table.rb
card-1.105.2.pre1 db/migrate/20190929202325_rename_present_in_reference_table.rb
card-1.105.2 db/migrate/20190929202325_rename_present_in_reference_table.rb
card-1.105.1 db/migrate/20190929202325_rename_present_in_reference_table.rb
card-1.105.0 db/migrate/20190929202325_rename_present_in_reference_table.rb
card-1.104.2 db/migrate/20190929202325_rename_present_in_reference_table.rb
card-1.104.1 db/migrate/20190929202325_rename_present_in_reference_table.rb
card-1.104.0 db/migrate/20190929202325_rename_present_in_reference_table.rb
card-1.103.4 db/migrate/20190929202325_rename_present_in_reference_table.rb
card-1.103.3 db/migrate/20190929202325_rename_present_in_reference_table.rb
card-1.103.2 db/migrate/20190929202325_rename_present_in_reference_table.rb
card-1.103.1 db/migrate/20190929202325_rename_present_in_reference_table.rb
card-1.103.0 db/migrate/20190929202325_rename_present_in_reference_table.rb
card-1.101.7 db/migrate/20190929202325_rename_present_in_reference_table.rb
card-1.102.0 db/migrate/20190929202325_rename_present_in_reference_table.rb
card-1.101.6 db/migrate/20190929202325_rename_present_in_reference_table.rb
card-1.101.5 db/migrate/20190929202325_rename_present_in_reference_table.rb