mirror of
https://gitlab.com/chicken-riders/RcGcDb.git
synced 2025-02-23 00:54:09 +00:00
Corrected last table name I could find
This commit is contained in:
parent
adb44a0ac1
commit
4d87c1b560
|
@ -54,7 +54,7 @@ async def populate_wikis():
|
|||
start = time.time()
|
||||
async with db.pool().acquire() as connection:
|
||||
async with connection.transaction():
|
||||
async for db_wiki in connection.cursor('select wiki, MAX(rcid) AS rcid, MAX(postid) AS postid from rcgcdw group by wiki;'):
|
||||
async for db_wiki in connection.cursor('select wiki, MAX(rcid) AS rcid, MAX(postid) AS postid from rcgcdb group by wiki;'):
|
||||
print(db_wiki)
|
||||
try:
|
||||
await domains.new_wiki(Wiki(db_wiki["wiki"], db_wiki["rcid"], db_wiki["postid"]))
|
||||
|
|
Loading…
Reference in a new issue