feat: add endpoints for sending and polling messages
This commit is contained in:
@@ -19,6 +19,7 @@ cur.execute("CREATE TABLE devices(access_key, secret_key_hash, type, name)")
|
||||
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_cards(phone_number, device_access_key)")
|
||||
cur.execute("CREATE TABLE message_queue(content, sender_access_key, local_phone_number, remote_phone_number)")
|
||||
|
||||
pw1_hash = flask_bcrypt.generate_password_hash('pw1').decode('utf-8')
|
||||
pw2_hash = flask_bcrypt.generate_password_hash('pw2').decode('utf-8')
|
||||
|
||||
Reference in New Issue
Block a user