Skip to content

Commit

Permalink
补充主键信息
Browse files Browse the repository at this point in the history
  • Loading branch information
hhyo committed Jul 30, 2018
1 parent 68499e4 commit 41461df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ class Meta:

# SlowQuery
class SlowQuery(models.Model):
checksum = models.CharField(max_length=32)
checksum = models.CharField(max_length=32, primary_key=True)
fingerprint = models.TextField()
sample = models.TextField()
first_seen = models.DateTimeField(blank=True, null=True)
Expand Down

0 comments on commit 41461df

Please sign in to comment.