diff --git a/lnbits/extensions/gerty/migrations.py b/lnbits/extensions/gerty/migrations.py index 31d1caec..a7a3243b 100644 --- a/lnbits/extensions/gerty/migrations.py +++ b/lnbits/extensions/gerty/migrations.py @@ -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") \ No newline at end of file + await db.execute("DROP TABLE gerty.mempool_old")