From d2e5ab2d320889b89583d3d02fd87739ee180dba Mon Sep 17 00:00:00 2001 From: Black Coffee Date: Mon, 24 Oct 2022 14:05:30 +0100 Subject: [PATCH] Added satspay settings migration --- lnbits/extensions/satspay/migrations.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/lnbits/extensions/satspay/migrations.py b/lnbits/extensions/satspay/migrations.py index 87446c800..3c72f12ab 100644 --- a/lnbits/extensions/satspay/migrations.py +++ b/lnbits/extensions/satspay/migrations.py @@ -26,3 +26,18 @@ async def m001_initial(db): ); """ ) + +async def m002_add_settings_table(db): + """ + Settings table + """ + + await db.execute( + """ + CREATE TABLE satspay.settings ( + id TEXT NOT NULL PRIMARY KEY, + "user" TEXT, + custom_css TEXT + ); + """ + )