lnurldevice migration: typo fix (#746)

* typo fix

* fix table name

* revert typo
This commit is contained in:
calle 2022-07-17 13:22:23 +02:00 committed by GitHub
parent ad2aad05e0
commit 2febb364ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,11 +38,11 @@ async def m001_initial(db):
async def m002_redux(db): async def m002_redux(db):
""" """
Moves everything from lnurlpos to lnurldevices Moves everything from lnurlpos to lnurldevice
""" """
try: try:
for row in [ for row in [
list(row) for row in await db2.fetchall("SELECT * FROM lnurlpos.lnurlpos") list(row) for row in await db2.fetchall("SELECT * FROM lnurlpos.lnurlposs")
]: ]:
await db.execute( await db.execute(
""" """