code: def UpdateColums(self, cursor, field, FieldType, model, columns, UNCHANGED):
          '''Updates the columns. Dont call directly
          '''
          table = model.__name__.lower()
          if field not in columns:
              n = UNCHANGED.pop()
              new_sql = f"ALTER TABLE {table} ADD COLUMN {field} {FieldType} AFTER {n}"
              cursor.execute(new_sql)
              print("\n\n", new_sql)
          else:
              UNCHANGED.append(field)
  
          # We drop the fields in the table not in models
          TCOLS = set(columns)-set(model._fields)
          for col in TCOLS:
              columns.remove(col)
              QRY = f"ALTER TABLE {table} DROP COLUMN {col}"
              cursor.execute(QRY)
              print("\n\n", QRY)
  
          return Truf UpdateColums(self, cursor, field, FieldType, model, columns, UNCHANGED):
          '''Updates the columns. Dont call directly
          '''
          table = model.__name__.lower()
          if field not in columns:
              n = UNCHANGED.pop()
              new_sql = f"ALTER TABLE {table} ADD COLUMN {field} {FieldType} AFTER {n}"
              cursor.execute(new_sql)
              print("\n\n", new_sql)
          else:
              UNCHANGED.append(field)
  
          # We drop the fields in the table not in models
          TCOLS = set(columns)-set(model._fields)
          for col in TCOLS:
              columns.remove(col)
              QRY = f"ALTER TABLE {table} DROP COLUMN {col}"
              cursor.execute(QRY)
              print("\n\n", QRY)
  
          return True
docs: Updates the columns. Dont call directly