aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/migrate/044_remove_is_bounce.rb9
-rw-r--r--db/schema.rb11
2 files changed, 14 insertions, 6 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
diff --git a/db/schema.rb b/db/schema.rb
index 5bcb2470e..2f304ddc7 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -9,14 +9,13 @@
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 43) do
+ActiveRecord::Schema.define(:version => 44) do
create_table "incoming_messages", :force => true do |t|
- t.integer "info_request_id", :null => false
- t.text "raw_data", :null => false
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
- t.boolean "is_bounce", :default => false, :null => false
+ t.integer "info_request_id", :null => false
+ t.text "raw_data", :null => false
+ t.datetime "created_at", :null => false
+ t.datetime "updated_at", :null => false
end
create_table "info_request_events", :force => true do |t|