updating virt_model with email and
This commit is contained in:
@ -30,4 +30,9 @@ class DBModel:
|
||||
self.cursor.execute("DELETE FROM login_tokens WHERE email = %s", (email, ))
|
||||
self.connection.commit()
|
||||
return email
|
||||
return None
|
||||
return None
|
||||
|
||||
def allVmIds(self,):
|
||||
self.cursor.execute("SELECT id FROM vms")
|
||||
return map(lambda x: x[0], self.cursor.fetchall())
|
||||
|
Reference in New Issue
Block a user