from peewee import *
db = SqliteDatabase('people.db')
class Person(Model):
name = CharField()
birthday = DateField()
class Meta:
database = db # This model uses the "people.db" database.
db.connect()
db.create_tables([Person])
from datetime import date
uncle_bob = Person(name='Bob', birthday=date(1960, 1, 15))
uncle_bob.save() # bob is now stored in the database
Error 912 - This is a chat bot feature, change this status in settings
id || 1 | 2
user_id || 82650656375 | 3759265926
datetime_of_receiving || 22.01.2023 17:06:35 | 22.01.2023 17:06:35
withdrawal_datetime || 22.01.2023 18:06:35 | 22.01.2023 17:36:35
comment || Правило 1.6.2 | Правило 1.2