From 5c4585b810230d58e297fbb312d536ad15ace40c Mon Sep 17 00:00:00 2001 From: "ying.yunlong" Date: Wed, 29 Mar 2017 11:29:14 +0800 Subject: Modify model of gvnfm vnfres Change-Id: I404985c1748a11e715b7ebfe5dc07123e7a994ec Issue-Id: GVNFM-46 Signed-off-by: ying.yunlong --- res/res/pub/database/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'res') diff --git a/res/res/pub/database/models.py b/res/res/pub/database/models.py index 5c8c62c..c701e20 100644 --- a/res/res/pub/database/models.py +++ b/res/res/pub/database/models.py @@ -304,7 +304,7 @@ class FlavourInstModel(models.Model): ephemeral = models.IntegerField(db_column='EPHEMERAL', null=True) swap = models.IntegerField(db_column='SWAP', null=True) isPublic = models.IntegerField(db_column='ISPUBLIC', null=True) - extraspecs = models.CharField(db_column='EXTRASPECS', max_length=255) + extraspecs = models.TextField(db_column='EXTRASPECS', max_length=4096) instid = models.CharField(db_column='INSTID', max_length=255) create_time = models.CharField(db_column='CREATETIME', max_length=200, null=True, blank=True) is_predefined = models.IntegerField(db_column='ISPREDEFINED', default=0, null=True) -- cgit 1.2.3-korg