Sha256: c6fed5493f68348713f39b9dffeb8fcbfa8f9dd252343998cee9d3943dbe9424

Contents?: true

Size: 276 Bytes

Versions: 7

Compression:

Stored size: 276 Bytes

Contents

# This migration comes from mailboxer_engine (originally 20111204163911)
class AddAttachments < ActiveRecord::Migration
  def self.up
    add_column :notifications, :attachment, :string
  end
  
  def self.down
    remove_column :notifications, :attachment, :string
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
curate-0.3.2 spec/dummy/db/migrate/20130408165025_add_attachments.mailboxer_engine.rb
curate-0.3.1 spec/dummy/db/migrate/20130408165025_add_attachments.mailboxer_engine.rb
curate-0.2.0 spec/dummy/db/migrate/20130408165025_add_attachments.mailboxer_engine.rb
curate-0.1.3 spec/dummy/db/migrate/20130408165025_add_attachments.mailboxer_engine.rb
curate-0.1.2 spec/dummy/db/migrate/20130408165025_add_attachments.mailboxer_engine.rb
curate-0.1.1 spec/dummy/db/migrate/20130408165025_add_attachments.mailboxer_engine.rb
curate-0.1.0 spec/dummy/db/migrate/20130408165025_add_attachments.mailboxer_engine.rb