import os
import sqlite3

DB_NAME = "example.db"

if os.path.exists(DB_NAME):
    os.remove(DB_NAME)

conn = sqlite3.connect(DB_NAME)

c = conn.cursor()

c.execute('''CREATE TABLE accounts
    (id integer primary key autoincrement, username text, password text)
''')

c.execute('''CREATE TABLE messages
    (id integer primary key autoincrement,
     user_from text,
     user_to text,
     message text)
''')

conn.commit()
conn.close()

1dec9ab1b2bd63507492a7403006ef174deeb8ca
<mask token>

<mask token>
if os.path.exists(DB_NAME):
    os.remove(DB_NAME)
<mask token>
c.execute(
    """CREATE TABLE accounts
    (id integer primary key autoincrement, username text, password text)
"""
    )
c.execute(
    """CREATE TABLE messages
    (id integer primary key autoincrement,
     user_from text,
     user_to text,
     message text)
"""
    )
conn.commit()
conn.close()

<mask token>
DB_NAME = 'example.db'
if os.path.exists(DB_NAME):
    os.remove(DB_NAME)
conn = sqlite3.connect(DB_NAME)
c = conn.cursor()
c.execute(
    """CREATE TABLE accounts
    (id integer primary key autoincrement, username text, password text)
"""
    )
c.execute(
    """CREATE TABLE messages
    (id integer primary key autoincrement,
     user_from text,
     user_to text,
     message text)
"""
    )
conn.commit()
conn.close()

import os
import sqlite3
DB_NAME = 'example.db'
if os.path.exists(DB_NAME):
    os.remove(DB_NAME)
conn = sqlite3.connect(DB_NAME)
c = conn.cursor()
c.execute(
    """CREATE TABLE accounts
    (id integer primary key autoincrement, username text, password text)
"""
    )
c.execute(
    """CREATE TABLE messages
    (id integer primary key autoincrement,
     user_from text,
     user_to text,
     message text)
"""
    )
conn.commit()
conn.close()

import os
import sqlite3

DB_NAME = "example.db"

if os.path.exists(DB_NAME):
    os.remove(DB_NAME)

conn = sqlite3.connect(DB_NAME)

c = conn.cursor()

c.execute('''CREATE TABLE accounts
    (id integer primary key autoincrement, username text, password text)
''')

c.execute('''CREATE TABLE messages
    (id integer primary key autoincrement,
     user_from text,
     user_to text,
     message text)
''')

conn.commit()
conn.close()
