aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrancis <francis>2009-10-19 19:25:06 +0000
committerfrancis <francis>2009-10-19 19:25:06 +0000
commit7000c15527b0ba5ae5e8369a1b806df0427d9c09 (patch)
treec8a29c179b071a5568b83d81468fcb227a544602
parent9aada48b6e911a3faf572d651726f3a110256e55 (diff)
(not yet used) column for hiding individual responses
-rw-r--r--db/migrate/081_add_event_prominence.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/081_add_event_prominence.rb b/db/migrate/081_add_event_prominence.rb
new file mode 100644
index 000000000..184e1a267
--- /dev/null
+++ b/db/migrate/081_add_event_prominence.rb
@@ -0,0 +1,9 @@
+class AddEventProminence < ActiveRecord::Migration
+ def self.up
+ add_column :info_request_events, :prominence, :string, :null => false, :default => 'normal'
+ end
+
+ def self.down
+ raise "safer not to have reverse migration scripts, and we never use them"
+ end
+end