aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate/013_create_incoming_messages.rb
blob: bd7dc20cd9c7af828e9e983c44d757144e259c6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# -*- encoding : utf-8 -*-
class CreateIncomingMessages < ActiveRecord::Migration
  def self.up
    create_table :incoming_messages do |t|
      t.column :info_request_id, :integer
      t.column :raw_data, :text
      t.column :created_at, :datetime
      t.column :updated_at, :datetime
    end
  end

  def self.down
    drop_table :incoming_messages
  end
end