Sha256: f1e285f2c1887d81b8c8afd5bce4640c4b3f951effc5e0869a8d93b2f041aafc

Contents?: true

Size: 178 Bytes

Versions: 18

Compression:

Stored size: 178 Bytes

Contents

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 9 versions & 2 rubygems

Version Path
mailboxer-0.11.0 spec/dummy/db/migrate/20120813110712_rename_receipts_read.rb
mailboxer-0.11.0 db/migrate/20120813110712_rename_receipts_read.rb
mailboxer-0.10.3 db/migrate/20120813110712_rename_receipts_read.rb
mailboxer-0.10.3 spec/dummy/db/migrate/20120813110712_rename_receipts_read.rb
curationexperts-mailboxer-0.10.3 spec/dummy/db/migrate/20120813110712_rename_receipts_read.rb
curationexperts-mailboxer-0.10.3 db/migrate/20120813110712_rename_receipts_read.rb
curationexperts-mailboxer-0.10.3.rc1 spec/dummy/db/migrate/20120813110712_rename_receipts_read.rb
curationexperts-mailboxer-0.10.3.rc1 db/migrate/20120813110712_rename_receipts_read.rb
mailboxer-0.10.2 db/migrate/20120813110712_rename_receipts_read.rb
mailboxer-0.10.2 spec/dummy/db/migrate/20120813110712_rename_receipts_read.rb
mailboxer-0.10.1 spec/dummy/db/migrate/20120813110712_rename_receipts_read.rb
mailboxer-0.10.1 db/migrate/20120813110712_rename_receipts_read.rb
mailboxer-0.10.0 spec/dummy/db/migrate/20120813110712_rename_receipts_read.rb
mailboxer-0.10.0 db/migrate/20120813110712_rename_receipts_read.rb
mailboxer-0.9.0 db/migrate/20120813110712_rename_receipts_read.rb
mailboxer-0.9.0 spec/dummy/db/migrate/20120813110712_rename_receipts_read.rb
mailboxer-0.8.0 db/migrate/20120813110712_rename_receipts_read.rb
mailboxer-0.8.0 spec/dummy/db/migrate/20120813110712_rename_receipts_read.rb