mirror of
https://git.sdf.org/tamservo/robottas.git
synced 2025-11-14 10:03:46 -05:00
Adding script for creating the sqlite db through which messages are sent between receiving process and discord messaging process.
This commit is contained in:
11
create_queue_db.py
Normal file
11
create_queue_db.py
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
import sqlite3
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
con = sqlite3.connect('messages.db')
|
||||||
|
cur = con.cursor()
|
||||||
|
#cur.execute("""drop table messages""")
|
||||||
|
cur.execute("""create table messages( id integer primary key, message );""")
|
||||||
|
con.commit()
|
||||||
|
cur.close()
|
||||||
|
con.close()
|
||||||
|
|
||||||
Reference in New Issue
Block a user