Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

This is a VARCHAR not a TEXT

  • Loading branch information...
commit 7113f207c34e41ffcbbd0b3570f3fe41bbfbbcaf 1 parent 1b8cd5f
@spastorino spastorino authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/lib/active_record/session_store.rb
View
2  activerecord/lib/active_record/session_store.rb
@@ -84,7 +84,7 @@ def create_table!
CREATE TABLE #{table_name} (
id INTEGER PRIMARY KEY,
#{connection.quote_column_name(session_id_column)} VARCHAR(255) UNIQUE,
- #{connection.quote_column_name(data_column_name)} TEXT(255)
+ #{connection.quote_column_name(data_column_name)} VARCHAR(255)
)
end_sql
end
Please sign in to comment.
Something went wrong with that request. Please try again.