cirandas.net

ref: master

plugins/exchange/db/migrate/20120213143006_create_exchange_plugin_messages.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
class CreateExchangePluginMessages < ActiveRecord::Migration
  def self.up
    create_table :exchange_plugin_messages do |t|
      t.integer :exchange_id
      t.text :body
      t.integer :enterprise_sender_id
      t.integer :enterprise_recipient_id
      t.integer :person_sender_id
      t.string :exchange_state

      t.timestamps
    end
  end

  def self.down
    drop_table :exchange_plugin_messages
  end
end