mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-27 12:26:19 +02:00
format
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import time
|
||||
|
||||
|
||||
async def m001_initial(db):
|
||||
"""
|
||||
Initial Gertys table.
|
||||
@@ -60,6 +61,7 @@ async def m005_add_gerty_model_col(db):
|
||||
"""
|
||||
await db.execute("ALTER TABLE gerty.gertys ADD COLUMN urls TEXT;")
|
||||
|
||||
|
||||
async def m006_add_gerty_model_col(db):
|
||||
"""
|
||||
support for Gerty model col
|
||||
@@ -67,6 +69,7 @@ async def m006_add_gerty_model_col(db):
|
||||
await db.execute("ALTER TABLE gerty.mempool RENAME TO mempool_old;")
|
||||
await db.execute("ALTER TABLE gerty.mempool ADD COLUMN time FLOAT;")
|
||||
|
||||
|
||||
async def m006_add_gerty_model_col(db):
|
||||
"""
|
||||
Add UUID ID's to links and migrates existing data
|
||||
@@ -107,4 +110,4 @@ async def m006_add_gerty_model_col(db):
|
||||
),
|
||||
)
|
||||
|
||||
await db.execute("DROP TABLE gerty.mempool_old")
|
||||
await db.execute("DROP TABLE gerty.mempool_old")
|
||||
|
Reference in New Issue
Block a user