From 84c4643e1bf12b4712ae896509c936e4e128ccb3 Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 5 Jan 2023 22:21:40 +0000 Subject: [PATCH] format --- lnbits/extensions/gerty/migrations.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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")