diff --git a/bot.py b/bot.py index 5be2377..df5baba 100644 --- a/bot.py +++ b/bot.py @@ -2,4 +2,4 @@ import telebot TOKEN = '5123679189:AAHTMxCyOUwPSbaeof31m8SjRHVs4qKZci8' -bot = telebot.TeleBot(TOKEN) \ No newline at end of file +bot = telebot.TeleBot(TOKEN) diff --git a/database/models.py b/database/models.py index 27e4e54..f975ab0 100644 --- a/database/models.py +++ b/database/models.py @@ -32,4 +32,5 @@ class Transaction(BaseModel): table_name = 'Transaction' +# создаю таблицы conn.create_tables([User, Transaction])