refactor and commentsa
This commit is contained in:
1 parent
b786374697
commit
b99fb5a72f
2 files changed
+2
-1
No files matched your search
@@ -2,4 +2,4 @@ import telebot
|
|||||||
|
|
||||||
TOKEN = '5123679189:AAHTMxCyOUwPSbaeof31m8SjRHVs4qKZci8'
|
TOKEN = '5123679189:AAHTMxCyOUwPSbaeof31m8SjRHVs4qKZci8'
|
||||||
|
|
||||||
bot = telebot.TeleBot(TOKEN)
|
bot = telebot.TeleBot(TOKEN)
|
||||||
@@ -32,4 +32,5 @@ class Transaction(BaseModel):
|
|||||||
table_name = 'Transaction'
|
table_name = 'Transaction'
|
||||||
|
|
||||||
|
|
||||||
|
# создаю таблицы
|
||||||
conn.create_tables([User, Transaction])
|
conn.create_tables([User, Transaction])
|
||||||
Reference in new issue
Block a user