тст
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pavel_Duron 2022-11-07 20:09:09 +10:00
parent 91f5cdf483
commit 5d1e0e2d67

2
sql.py
View File

@ -4,7 +4,7 @@ import sqlite3 as sq
async def db_start(): #подключение к бд async def db_start(): #подключение к бд
global db, cur global db, cur
db = sq.connect('dickpick.db') db = sq.connect('users.db')
cur = db.cursor() cur = db.cursor()
cur.execute(''''CREATE TABLE IF NOT EXISTS users(id INTEGER PRIMARY KEY, users_id INTEGER, user_name TEXT)''') cur.execute(''''CREATE TABLE IF NOT EXISTS users(id INTEGER PRIMARY KEY, users_id INTEGER, user_name TEXT)''')