aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/migrate/012_add_sent_outgoing_message.rb2
-rw-r--r--db/schema.rb3
2 files changed, 3 insertions, 2 deletions
diff --git a/db/migrate/012_add_sent_outgoing_message.rb b/db/migrate/012_add_sent_outgoing_message.rb
index f99c4d55f..8b3059347 100644
--- a/db/migrate/012_add_sent_outgoing_message.rb
+++ b/db/migrate/012_add_sent_outgoing_message.rb
@@ -1,6 +1,6 @@
class AddSentOutgoingMessage < ActiveRecord::Migration
def self.up
- add_column :outgiong_messages, :sent_at, :datetime
+ add_column :outgoing_messages, :sent_at, :datetime
end
def self.down
diff --git a/db/schema.rb b/db/schema.rb
index 04f4a49fd..2a8a7978b 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -2,7 +2,7 @@
# migrations feature of ActiveRecord to incrementally modify your database, and
# then regenerate this schema definition.
-ActiveRecord::Schema.define(:version => 11) do
+ActiveRecord::Schema.define(:version => 12) do
create_table "info_requests", :force => true do |t|
t.column "title", :text
@@ -19,6 +19,7 @@ ActiveRecord::Schema.define(:version => 11) do
t.column "message_type", :string
t.column "created_at", :datetime
t.column "updated_at", :datetime
+ t.column "sent_at", :datetime
end
create_table "public_bodies", :force => true do |t|