diff options
author | francis <francis> | 2007-09-11 11:23:41 +0000 |
---|---|---|
committer | francis <francis> | 2007-09-11 11:23:41 +0000 |
commit | ffe3932a317dd81a73ec0c930651bf8447eebcc8 (patch) | |
tree | f128c6c82790ec5ee10895934c970fed02a3782a /db/schema.rb | |
parent | 92dcf1bcb7f487f814c9ffe5b242d9216bdce9a2 (diff) |
Add created_at and updated_at fields to appropriate models.
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb index e3fdbce13..04f4a49fd 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -2,12 +2,14 @@ # migrations feature of ActiveRecord to incrementally modify your database, and # then regenerate this schema definition. -ActiveRecord::Schema.define(:version => 10) do +ActiveRecord::Schema.define(:version => 11) do create_table "info_requests", :force => true do |t| t.column "title", :text t.column "user_id", :integer t.column "public_body_id", :integer + t.column "created_at", :datetime + t.column "updated_at", :datetime end create_table "outgoing_messages", :force => true do |t| @@ -27,6 +29,8 @@ ActiveRecord::Schema.define(:version => 10) do t.column "version", :integer t.column "last_edit_editor", :string t.column "last_edit_comment", :string + t.column "created_at", :datetime + t.column "updated_at", :datetime end create_table "public_body_versions", :force => true do |t| @@ -45,6 +49,7 @@ ActiveRecord::Schema.define(:version => 10) do t.column "session_id", :string t.column "data", :text t.column "updated_at", :datetime + t.column "created_at", :datetime end add_index "sessions", ["session_id"], :name => "index_sessions_on_session_id" @@ -55,6 +60,8 @@ ActiveRecord::Schema.define(:version => 10) do t.column "name", :string t.column "hashed_password", :string t.column "salt", :string + t.column "created_at", :datetime + t.column "updated_at", :datetime end end |