blob: 9d51e4942b8369509813618c421cc56d7b05d4c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# -*- encoding : utf-8 -*-
class CreatePublicBodies < ActiveRecord::Migration
def self.up
create_table :public_bodies do |t|
t.column :name, :text
t.column :short_name, :text
# address for making initial FOI requests
t.column :request_email, :text
# address for complaining about an FOI request
t.column :complaint_email, :text
end
end
def self.down
drop_table :public_bodies
end
end
|