title: SpringBoot : Altering Column length
body: <p>In my <code>MySQl</code> table, I want to change the length of my column from <code>varchar(2)</code> to <code>varchar(10)</code>. I am using docker as my database server.</p>
  
  <p>I tried using <code>columnDefinition</code> but in my table <code>desc</code> I still see the old Type <code>varchar(2)</code>.
  This is the command I added to my <code>Entity Class</code> : </p>
  
  <pre><code>@Column(name = "CHAPTER_CODE", nullable = false, columnDefinition = "varchar(10)")
  private String chapterCode;
  </code></pre>
  
  <p>And then I bootRun the server. Since I am new to SpringBoot, so is there something which I missed.</p>