blob: e3fb560a6b9d7048b75ae9f01a8997ac57c14402 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
class CreatePublicBodyChangeRequests < ActiveRecord::Migration
def up
create_table :public_body_change_requests do |t|
t.column :user_email, :string
t.column :user_name, :string
t.column :user_id, :integer
t.column :public_body_name, :text
t.column :public_body_id, :integer
t.column :public_body_email, :string
t.column :source_url, :text
t.column :notes, :text
t.column :is_open, :boolean, :null => false, :default => true
t.timestamps
end
end
def down
drop_table :public_body_change_requests
end
end
|