Permalink
Browse files

This is a VARCHAR not a TEXT

  • Loading branch information...
1 parent 1b8cd5f commit 7113f207c34e41ffcbbd0b3570f3fe41bbfbbcaf @spastorino spastorino committed Jul 22, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 7113f20

Please sign in to comment.