def get_usersId(self):
with self.connection:
result = self.cursor.execute("SELECT `user_id` FROM `users`").fetchall()
active = []
for row in result:
active.append(row[0])
return active