2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# File 'lib/generators/rcap/migrations/templates/infos_migration.rb', line 2
def self.up
create_table :infos do |t|
t.integer :alert_id
t.string :language
t.string :categories
t.string :event
t.string :response_types
t.string :urgency
t.string :severity
t.string :certainty
t.string :audience
t.string :event_codes
t.datetime :effective_at
t.datetime :onset_at
t.datetime :expires_at
t.string :sender_name
t.text :headline
t.text :description
t.text :instruction
t.string :web
t.string :contact
t.text :parameters
t.timestamps
end
end
|