Sha256: d57f38d6830841c60d7b75f6a329b458e215f57e078f8faae6c74abcf0c46ab6

Contents?: true

Size: 309 Bytes

Versions: 9

Compression:

Stored size: 309 Bytes

Contents

class AddEnvelopeDataToMessages < ActiveRecord::Migration
    def self.up
        add_column :messages, :envelope_from, :text
        add_column :messages, :envelope_to, :text
    end

    def self.down
        remove_column :messages, :envelope_from
        remove_column :messages, :envelope_to
    end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
sugoi-mail-0.0.1 db/migrate/020_add_envelope_data_to_messages.rb
sugoi-mail-0.0.2 db/migrate/020_add_envelope_data_to_messages.rb
sugoi-mail-0.0.0 db/migrate/020_add_envelope_data_to_messages.rb
sugoi-mail-0.0.5 db/migrate/020_add_envelope_data_to_messages.rb
sugoi-mail-0.0.3 db/migrate/020_add_envelope_data_to_messages.rb
sugoi-mail-0.1.0 db/migrate/020_add_envelope_data_to_messages.rb
sugoi-mail-0.1.5 db/migrate/020_add_envelope_data_to_messages.rb
sugoi-mail-0.3.2 db/migrate/020_add_envelope_data_to_messages.rb
sugoi-mail-0.3.0 db/migrate/020_add_envelope_data_to_messages.rb