Sha256: d43989ba4ee68c204a65ceaa669a6e3b0aa79330f8dd2f6bb10cea034fd40d48

Contents?: true

Size: 187 Bytes

Versions: 4

Compression:

Stored size: 187 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

4 entries across 2 versions & 1 rubygems

Version Path
mailboxer-without-notification-0.11.2 db/migrate/20120813110712_rename_receipts_read.rb
mailboxer-without-notification-0.11.2 spec/dummy/db/migrate/20120813110712_rename_receipts_read.rb
mailboxer-without-notification-0.11.1 db/migrate/20120813110712_rename_receipts_read.rb
mailboxer-without-notification-0.11.1 spec/dummy/db/migrate/20120813110712_rename_receipts_read.rb