title: Dynamic input to database
body: <p>I'm working on an app that lets a user create projects custom to the users needs, the project is basically a form that can be submitted by another user.</p>
  
  <p>I want to allow the user to dynamically create new fields (with Javascript) to the project (a basic form) and choose custom values for each field.</p>
  
  <p>And when the project (the form) is ready it can be submitted and the user specified values goes to a database. Then another user can submit the form and the values the original user has chosen are as options for that form.</p>
  
  <p>The values (that are dynamically created by the user) are most likely going to be basic data, like name, phone, email etc. But there is also options for specific data like food, address, etc. I want the user to be able to ask for any data he/she sees necessary.</p>
  
  <p>So how should I structure my database? I cannot be sure what or how many fields the user is going to choose for his project, i was thinking of doing this app in a traditional relational database, most likely Postgres or Mysql.</p>
  
  <p>So should a create columns for all the data I can think of (or allow user to create) or could this be done in some other way?</p>