Sha256: dea5041aff197b35ebeda1c6819d7f753156d055e3e14d81fcaa314dbbb8bcf2
Contents?: true
Size: 479 Bytes
Versions: 30
Compression:
Stored size: 479 Bytes
Contents
class MailMgrTestMessage < ActiveRecord::Migration def self.table_prefix MailManager.table_prefix rescue 'mail_manager_' end def self.up change_table :"#{table_prefix}messages" do |t| # t.string :type # t.string :test_email_address t.integer :contact_id end end def self.down change_table :"#{table_prefix}messages" do |t| # t.remove :type # t.remove :test_email_address t.remove :contact_id end end end
Version data entries
30 entries across 15 versions & 1 rubygems