session_id column is string in default

This commit is contained in:
kennyj 2012-07-15 02:56:08 +09:00
parent bc65d0c581
commit 92dcdc590e
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ module ActiveRecord
# #
# The default assumes a +sessions+ tables with columns: # The default assumes a +sessions+ tables with columns:
# +id+ (numeric primary key), # +id+ (numeric primary key),
# +session_id+ (text, or longtext if your session data exceeds 65K), and # +session_id+ (string, usually varchar; maximum length is 255), and
# +data+ (text or longtext; careful if your session data exceeds 65KB). # +data+ (text or longtext; careful if your session data exceeds 65KB).
# #
# The +session_id+ column should always be indexed for speedy lookups. # The +session_id+ column should always be indexed for speedy lookups.