blob: a36d37cf29bcfafd3d363c0d57b4583df2cbebe4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# -*- encoding : utf-8 -*-
class CreateOutgoingMessages < ActiveRecord::Migration
def self.up
create_table :outgoing_messages do |t|
t.column :info_request_id, :integer
t.column :body, :text
t.column :status, :string
t.column :public_body_id, :integer
t.column :message_type, :string
t.column :created_at, :datetime
t.column :updated_at, :datetime
end
end
def self.down
drop_table :outgoing_messages
end
end
|