remove models update from migrations (#80)

* add bot models update script

* add last question at field

* update README.md
This commit is contained in:
Dmitry Afanasyev
2024-01-08 21:33:35 +03:00
committed by GitHub
parent 7cbe7b7c50
commit 28895f3510
16 changed files with 191 additions and 145 deletions

View File

@@ -34,6 +34,7 @@ class AccessTokenFactory(BaseModelFactory):
class UserQuestionCountFactory(BaseModelFactory):
user_id = factory.Sequence(lambda n: n + 1)
question_count = factory.Faker("random_int")
last_question_at = factory.Faker("past_datetime")
class Meta:
model = UserQuestionCount