Sha256: ab552e2a567906beabb03b0a390a71c591b78c82a6d147311c7fb6aac9185073
Contents?: true
Size: 558 Bytes
Versions: 20
Compression:
Stored size: 558 Bytes
Contents
class AddConversationOptout < ActiveRecord::Migration def self.up create_table :mailboxer_conversation_opt_outs do |t| t.references :unsubscriber, :polymorphic => true t.references :conversation end add_foreign_key "mailboxer_conversation_opt_outs", "mailboxer_conversations", :name => "mb_opt_outs_on_conversations_id", :column => "conversation_id" end def self.down remove_foreign_key "mailboxer_conversation_opt_outs", :name => "mb_opt_outs_on_conversations_id" drop_table :mailboxer_conversation_opt_outs end end
Version data entries
20 entries across 10 versions & 1 rubygems