mirror of https://github.com/rails/rails
session_id column is string in default
This commit is contained in:
parent
bc65d0c581
commit
92dcdc590e
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue