mirror of https://github.com/zulip/zulip.git
Clear UserMessage table in populate_db as well.
(imported from commit 6d1c9b7a9974373857724ddd7b8d7805ed99c784)
This commit is contained in:
parent
83cb955413
commit
1e42dc5728
|
@ -51,7 +51,7 @@ class Command(BaseCommand):
|
|||
return
|
||||
|
||||
for klass in [Zephyr, ZephyrClass, UserProfile, User, Recipient,
|
||||
Realm, Subscription, Huddle]:
|
||||
Realm, Subscription, Huddle, UserMessage]:
|
||||
klass.objects.all().delete()
|
||||
|
||||
# Create a test realm
|
||||
|
|
Loading…
Reference in New Issue