Shrinking fail_reason column
This commit is contained in:
parent
9cc3f57262
commit
fc1419df52
1
migrations/012_shrink_fail_reason.sql
Normal file
1
migrations/012_shrink_fail_reason.sql
Normal file
@ -0,0 +1 @@
|
||||
ALTER TABLE stacktach_instanceexists MODIFY `fail_reason` varchar(300);
|
@ -130,7 +130,7 @@ class InstanceExists(models.Model):
|
||||
status = models.CharField(max_length=50, db_index=True,
|
||||
choices=STATUS_CHOICES,
|
||||
default=PENDING)
|
||||
fail_reason = models.CharField(max_length=500, null=True,
|
||||
fail_reason = models.CharField(max_length=300, null=True,
|
||||
blank=True, db_index=True)
|
||||
raw = models.ForeignKey(RawData, related_name='+', null=True)
|
||||
usage = models.ForeignKey(InstanceUsage, related_name='+', null=True)
|
||||
|
Loading…
Reference in New Issue
Block a user