sessions in tables

I know that the sessions can be easily tracked in a sessions database table. But there are some concerns with this method versus doing it in an un-marshalled datastorage where each data element is stored in a field in the table.

I would prefer to do it the second way, or at least know how to do it.

I've looked around on the internet and I'm unable ti find anything that shows by example how this can be done.

If I just change the sessions migration to whatever fields and such that I want, can I then create a model for this table and "everything just work"? I'm not sure how much of this session information I will have to replace (Model, Controllers)