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