Sha256: 30339a46faaf4ea181fe5900e69073e96c5ed714002ebcb6727e0aa5c0071aad

Contents?: true

Size: 251 Bytes

Versions: 18

Compression:

Stored size: 251 Bytes

Contents

# This migration comes from mailboxer_engine (originally 20120813110712)
class RenameReceiptsRead < ActiveRecord::Migration
  def up
    rename_column :receipts, :read, :is_read
  end

  def down
    rename_column :receipts, :is_read, :read
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
curate-0.6.6 spec/internal/db/migrate/20140328183335_rename_receipts_read.mailboxer_engine.rb
curate-0.6.4 spec/internal/db/migrate/20140131175540_rename_receipts_read.mailboxer_engine.rb
curate-0.6.3 spec/internal/db/migrate/20131205204156_rename_receipts_read.mailboxer_engine.rb
curate-0.6.1 spec/internal/db/migrate/20131203200454_rename_receipts_read.mailboxer_engine.rb
curate-0.6.0 spec/internal/db/migrate/20131126132923_rename_receipts_read.mailboxer_engine.rb
curate-0.5.6 spec/internal/db/migrate/20131114003130_rename_receipts_read.mailboxer_engine.rb
curate-0.5.5 spec/internal/db/migrate/20131114003130_rename_receipts_read.mailboxer_engine.rb
curate-0.5.4 spec/internal/db/migrate/20131111192820_rename_receipts_read.mailboxer_engine.rb
curate-0.5.2 spec/internal/db/migrate/20131106182806_rename_receipts_read.mailboxer_engine.rb
curate-0.5.1 spec/internal/db/migrate/20131028141231_rename_receipts_read.mailboxer_engine.rb
curate-0.5.0 spec/internal/db/migrate/20131018143722_rename_receipts_read.mailboxer_engine.rb
curate-0.3.2 spec/dummy/db/migrate/20130408165026_rename_receipts_read.mailboxer_engine.rb
curate-0.3.1 spec/dummy/db/migrate/20130408165026_rename_receipts_read.mailboxer_engine.rb
curate-0.2.0 spec/dummy/db/migrate/20130408165026_rename_receipts_read.mailboxer_engine.rb
curate-0.1.3 spec/dummy/db/migrate/20130408165026_rename_receipts_read.mailboxer_engine.rb
curate-0.1.2 spec/dummy/db/migrate/20130408165026_rename_receipts_read.mailboxer_engine.rb
curate-0.1.1 spec/dummy/db/migrate/20130408165026_rename_receipts_read.mailboxer_engine.rb
curate-0.1.0 spec/dummy/db/migrate/20130408165026_rename_receipts_read.mailboxer_engine.rb