aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-09-12 17:36:43 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-09-12 17:36:43 +0000
commit691f95e448bca0123eb3c22e4f280d56f33db84d (patch)
treeb06dda1df66714b6243a3507d0abf04da1379f3e /railties
parentc259ed9e029c9d75791d6f7258649d3174161286 (diff)
downloadrails-691f95e448bca0123eb3c22e4f280d56f33db84d.tar.gz
rails-691f95e448bca0123eb3c22e4f280d56f33db84d.tar.bz2
rails-691f95e448bca0123eb3c22e4f280d56f33db84d.zip
Use session_id instead of deprecated sessid
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2222 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/tasks/databases.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/tasks/databases.rake b/railties/lib/tasks/databases.rake
index 7007b3d5d0..f8ae465315 100644
--- a/railties/lib/tasks/databases.rake
+++ b/railties/lib/tasks/databases.rake
@@ -106,7 +106,7 @@ task :create_sessions_table => :environment do
t.column :updated_at, :datetime
end
- ActiveRecord::Base.connection.add_index :sessions, :sessid
+ ActiveRecord::Base.connection.add_index :sessions, :session_id
end
desc "Drop the sessions table"