aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate
diff options
context:
space:
mode:
authorfrancis <francis>2008-03-21 14:04:29 +0000
committerfrancis <francis>2008-03-21 14:04:29 +0000
commit426be7f2c0eb5cf09bb35bb9d40c67b7af59d7ec (patch)
treeb56287fef663664cfdabbe9d17a6acc41eeb3396 /db/migrate
parent6c7353d8b494c2b5c83d725be68fba6b5b5c517d (diff)
Get rid of special envelope from -bounce addresses, as they are no good since
enough public authorities mail them with non-automatic messages.
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/044_remove_is_bounce.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/044_remove_is_bounce.rb b/db/migrate/044_remove_is_bounce.rb
new file mode 100644
index 000000000..8e2307060
--- /dev/null
+++ b/db/migrate/044_remove_is_bounce.rb
@@ -0,0 +1,9 @@
+class RemoveIsBounce < ActiveRecord::Migration
+ def self.up
+ remove_column :incoming_messages, :is_bounce
+ end
+
+ def self.down
+ add_column :incoming_messages, :is_bounce, :boolean, :default => false
+ end
+end