title: SQLAlchemy: How can I update the table in the database when I update the model in models.py
body: <p>I have as SQLAlchemy model called <code>User</code> and I want to add another property to the class, ex: <code>address</code>.</p>
  
  <p>I tried adding a new class property, and hoped that SQLAlchemy would realize there is a change in the class and would update the table automatically. That is not case.</p>
  
  <p>I've looked online on how to make changes to the model which would then update the table automatically, but all I have found is <code>db.sessions</code> where they manually type out the changes they want to make. Is there a better way to update a model?</p>
  
  <pre class="lang-py prettyprint-override"><code>class User(db.Model):
      id = db.Column(db.Integer, primary_key=True)
      username = db.Column(db.String(20), unique=True, nullable=False)
      email = db.Column(db.String(120), unique=True, nullable=False)
      image_file = db.Column(db.String(20), nullable=False, default='default.jpg')
      password = db.Column(db.String(60), nullable=False)
      # new class property that I want to add
      address = db.Column(db.String(100), nullable=False)
  </code></pre>