fixed migration error
This commit is contained in:
parent
4afd2e23bb
commit
0c29b5cb3d
1 changed files with 2 additions and 2 deletions
|
|
@ -74,9 +74,9 @@ async def m003_default_config(db):
|
|||
new_private_key = bytes.hex(secp256k1._gen_private_key())
|
||||
await db.execute(
|
||||
"""
|
||||
INSERT INTO nwcprovider.config (key, value) VALUES ('provider_key', ?);
|
||||
INSERT INTO nwcprovider.config (key, value) VALUES ('provider_key', :provider_key);
|
||||
""",
|
||||
(new_private_key,),
|
||||
{"provider_key": new_private_key},
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue