summaryrefslogtreecommitdiff
path: root/openstack_dashboard/dashboards/infrastructure/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstack_dashboard/dashboards/infrastructure/models.py')
-rw-r--r--openstack_dashboard/dashboards/infrastructure/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack_dashboard/dashboards/infrastructure/models.py b/openstack_dashboard/dashboards/infrastructure/models.py
index 513e463d..8097e5b1 100644
--- a/openstack_dashboard/dashboards/infrastructure/models.py
+++ b/openstack_dashboard/dashboards/infrastructure/models.py
@@ -34,7 +34,7 @@ class Alert(models.Model):
class Meta:
db_table = 'infrastructure_alerts'
- object_id = models.PositiveIntegerField()
+ object_id = models.CharField(max_length=50)
object_type = models.CharField(max_length=20)
message = models.CharField(max_length=250)
time = models.DateTimeField()