parameters: (self, table, column)
docstring: Adds a primery key (with one column) to a table
docstring_summary: Adds a primery key (with one column) to a table
docstring_tokens: Adds a primery key ( with one column ) to a table
function: def addTablePrimaryKey(self, table, column):
          """Adds a primery key (with one column) to a table """
          sql = u"ALTER TABLE %s ADD PRIMARY KEY (%s)" % (self.quoteId(table), self.quoteId(column))
          self._execute_and_commit(sql)
function_tokens: def addTablePrimaryKey ( self , table , column ) : sql = u"ALTER TABLE %s ADD PRIMARY KEY (%s)" % ( self . quoteId ( table ) , self . quoteId ( column ) ) self . _execute_and_commit ( sql )