fix flake8 W291 (trailing whitespace)

This commit is contained in:
Pavol Rusnak 2023-01-21 15:30:11 +00:00
parent bc36e6bc4c
commit 421214bc36
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D
4 changed files with 4 additions and 4 deletions

View file

@ -29,7 +29,7 @@ async def m001_initial(db):
payhash TEXT,
payload TEXT NOT NULL,
pin INT,
sats {db.big_int},
sats {db.big_int},
timestamp TIMESTAMP NOT NULL DEFAULT {db.timestamp_now}
);
"""

View file

@ -139,7 +139,7 @@ async def m001_initial(db):
id_conversation TEXT NOT NULL,
timestamp TIMESTAMP NOT NULL DEFAULT """
+ db.timestamp_now
+ """
+ """
);
"""
)

View file

@ -33,7 +33,7 @@ async def m002_add_charge_extra_data(db):
Add 'extra' column for storing various config about the charge (JSON format)
"""
await db.execute(
"""ALTER TABLE satspay.charges
"""ALTER TABLE satspay.charges
ADD COLUMN extra TEXT DEFAULT '{"mempool_endpoint": "https://mempool.space", "network": "Mainnet"}';
"""
)

View file

@ -30,7 +30,7 @@ async def m001_initial(db):
"""
CREATE TABLE watchonly.mempool (
"user" TEXT NOT NULL,
endpoint TEXT NOT NULL
endpoint TEXT NOT NULL
);
"""
)