Этот вызывает
class MessLog(BaseModel_50): id = PrimaryKeyField() message = AutoField() created_at = DateTimeField(default=datetime.datetime.now()) updated_at = DateTimeField(default=datetime.datetime.now()) class Meta: db_table = 'mess_log' order_by = ('updated_at',)
Этот нет:
class UsersTelegram(BaseModel_50): id = PrimaryKeyField() lastname = CharField(max_length=100) name = CharField(max_length=100) tel = CharField(max_length=12) user_id = CharField(max_length=10) chat_id = CharField(max_length=10) access = BooleanField() created_at = DateTimeField(default=datetime.datetime.now()) updated_at = DateTimeField(default=datetime.datetime.now()) class Meta: db_table = 'telegram_users' order_by = ('updated_at',)