I have a table with some fixed columns id,title,created.., but there I need put some optional data from the user that I cant define a specif column, but I need this data for search from others users. What the best way?
- Store a serialized array
- Leave some column optionals ( exemple:leaves any 10 column opt1,opt2,opt3...)
- Create a new table (dataid,uid,key,value) and new rows for each data.
the data would be like key:value pair
What should the best way to record any undefined optionals data from the user and optimize to search?
Good Day