original_docstring: 
          Add a new columns to an existing table.
          
docstring: Add a new columns to an existing table.
docstring_tokens: Add a new columns to an existing table .
code: def create_new_column(self,tableName : str, columnName : str,constraintsAndDatatype : str):
          """
          Add a new columns to an existing table.
          """
          try:
              dataBase = connect(
                  host = self.host,
                  user = self.userName,
                  passwd = self.passwrd,
                  database = self.database
              )
              cursor = dataBase.cursor()
  
              cursor.execute("ALTER TABLE " + tableName + ' ADD ' + columnName + ' ' + constraintsAndDatatype)
  
              dataBase.commit()
              dataBase.close()
              return 'Created a new column!'
          except Exception as error:
              raise MySQLerrorTypes.create_column_error(error)
code_tokens: def create_new_column ( self , tableName : str , columnName : str , constraintsAndDatatype : str ) : try : dataBase = connect ( host = self . host , user = self . userName , passwd = self . passwrd , database = self . database ) cursor = dataBase . cursor ( ) cursor . execute ( "ALTER TABLE " + tableName + ' ADD ' + columnName + ' ' + constraintsAndDatatype ) dataBase . commit ( ) dataBase . close ( ) return 'Created a new column!' except Exception as error : raise MySQLerrorTypes . create_column_error ( error )
short_docstring: Add a new columns to an existing table.
short_docstring_tokens: Add a new columns to an existing table .
comment: """
          Add a new columns to an existing table.
          """