From b9ed0bf0d97b81c6d570d938ccd85dfacabc8382 Mon Sep 17 00:00:00 2001 From: Samuel Sloniker Date: Tue, 6 Jun 2023 16:56:06 -0700 Subject: [PATCH] . --- adsms/__main__.py | 5 +++++ convert.py | 10 ++++++++++ 2 files changed, 15 insertions(+) create mode 100644 adsms/__main__.py create mode 100644 convert.py diff --git a/adsms/__main__.py b/adsms/__main__.py new file mode 100644 index 0000000..6ab6cda --- /dev/null +++ b/adsms/__main__.py @@ -0,0 +1,5 @@ +# Partially written with ChatGPT + +import adsms + +adsms.main() diff --git a/convert.py b/convert.py new file mode 100644 index 0000000..be30663 --- /dev/null +++ b/convert.py @@ -0,0 +1,10 @@ +import sqlite3 +import sys + +con = sqlite3.connect(sys.argv[1]) + +con.execute( + "ALTER TABLE subscriptions ADD COLUMN platform VARCHAR DEFAULT 'textbelt'" +) + +con.commit()