Reputation: 1498
Im creating a sample RUBY ON RAILS APP and storing sessions in DB
The table structure is id:pk,autoincrement
session_id:varchar 256
data:longtext
When i click save i get following error:
"Your session data is larger than the data column in which it is to be stored. You must increase the size of your data column if you intend to store large data."
Upvotes: 2
Views: 1056
Reputation: 16002
Your question itself has the answer. Just increase the size of data:longtext
which is data column
Upvotes: 1