Modify model of gvnfm vnfres release/mercury v2.0.0
authorying.yunlong <ying.yunlong@zte.com.cn>
Wed, 29 Mar 2017 03:29:14 +0000 (11:29 +0800)
committerying.yunlong <ying.yunlong@zte.com.cn>
Wed, 29 Mar 2017 03:29:14 +0000 (11:29 +0800)
Change-Id: I404985c1748a11e715b7ebfe5dc07123e7a994ec
Issue-Id: GVNFM-46
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
res/res/pub/database/models.py

index 5c8c62c..c701e20 100644 (file)
@@ -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)