chore: move backend to separate dir

This commit is contained in:
2026-05-19 00:02:31 +02:00
parent 0414ee9e4e
commit db2290ba14
6 changed files with 4 additions and 0 deletions
+3
View File
@@ -12,3 +12,6 @@ wheels/
# Local application data # Local application data
log/ log/
*.db *.db
# Gradle
local.properties
View File
View File
View File
+1
View File
@@ -16,6 +16,7 @@ cur.execute("CREATE TABLE devices(access_key, secret_key_hash, type, name)")
# type : INCOMING, OUTGOING # type : INCOMING, OUTGOING
# local_phone_number : a SECONDARY device SIM's phone number # local_phone_number : a SECONDARY device SIM's phone number
# remote_phone_number : a phone number or shortcode of the other party # remote_phone_number : a phone number or shortcode of the other party
# TODO add column for sender's access key
cur.execute("CREATE TABLE messages(content, ts_received, ts_sent, type, local_phone_number, remote_phone_number)") cur.execute("CREATE TABLE messages(content, ts_received, ts_sent, type, local_phone_number, remote_phone_number)")
cur.execute("CREATE TABLE sim_events(sim_id, ts, note, cost, currency)") cur.execute("CREATE TABLE sim_events(sim_id, ts, note, cost, currency)")
cur.execute("CREATE TABLE sim_cards(phone_number, device_access_key)") cur.execute("CREATE TABLE sim_cards(phone_number, device_access_key)")
View File