title: Dynamically create columns / table using SpringBoot when i make Rest api calls
body: <p>I am trying to generate a schema dynamically using Spring-Boot when I make a REST API call. For instance, I make a rest call to <code>http://localhost:8080/school</code> with two different JSON bodies.</p>
  
  <p><strong>Call 1:</strong>        </p>
  
  <pre><code>{id: 1111, name: "XYZ"}
  </code></pre>
  
  <p><strong>Call 2:</strong></p>
  
  <pre><code>/school
  {id: 1234, name: "ABCD", contact: "test@test.com"}
  </code></pre>
  
  <p>The request body is transformed into a schema of the table or collection for each request.</p>
  
  <p>table or collection name school</p>
  
  <p><strong>For Call 1</strong> </p>
  
  <pre><code>{id: Number, name: String}
  </code></pre>
  
  <p>I make another API call but pass different JSON body (For Call 2):</p>
  
  <p>table or collection name school</p>
  
  <pre><code>{ id: Number, name: String, contact: String}
  </code></pre>
  
  <p>Can anyone tell me how to do this, please? I am using MySQL database on the backend.</p>