Sha256: 2ec2da1451f396d74595f5f356889f3ebff99d025d9f4ed3c15979e7dff46844
Contents?: true
Size: 631 Bytes
Versions: 9
Compression:
Stored size: 631 Bytes
Contents
# This migration comes from mailboxer_engine (originally 20131206080416) 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
9 entries across 9 versions & 2 rubygems