mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-18 00:00:00 +00:00
Add index to groupmessage and fix typo.
This commit is contained in:
@@ -4,7 +4,7 @@ import os
|
||||
from django.db import models
|
||||
|
||||
class GroupMessage(models.Model):
|
||||
group_id = models.IntegerField()
|
||||
group_id = models.IntegerField(db_index=True)
|
||||
from_email = models.EmailField()
|
||||
message = models.CharField(max_length=500)
|
||||
timestamp = models.DateTimeField(default=datetime.datetime.now)
|
||||
|
Reference in New Issue
Block a user