async def adm(self, user):
async with self.pool.acquire() as conn:
async with conn.cursor() as cur:
result = await cur.execute("SELECT admin FROM profile WHERE uid=%s", user.id)
row = await cur.fetchall()
if result == 1:
await cur.execute("UPDATE profile SET admin=Хелпер WHERE uid=%s", user.id)
await conn.commit()
for adm in row[0]:
return adm
Ошибка:
raise CommandInvokeError(exc) from exc
vk_botting.exceptions.CommandInvokeError: Command raised an exception: OperationalError: (1054, "Unknown column 'Хелпер' in 'field list'")