summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorying.yunlong <ying.yunlong@zte.com.cn>2017-03-29 11:29:14 +0800
committerying.yunlong <ying.yunlong@zte.com.cn>2017-03-29 11:29:14 +0800
commit5c4585b810230d58e297fbb312d536ad15ace40c (patch)
treefc5d342c20c7d38f7c4bf721ac9654555cf278f9 /res
parentc34cc4a20805d931a73b71404413939317681fd3 (diff)
Modify model of gvnfm vnfresv2.0.0release/mercury
Change-Id: I404985c1748a11e715b7ebfe5dc07123e7a994ec Issue-Id: GVNFM-46 Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
Diffstat (limited to 'res')
-rw-r--r--res/res/pub/database/models.py2
1 files changed, 1 insertions, 1 deletions
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)