Update report resoure code and other files
[vfc/gvnfm/vnflcm.git] / lcm / lcm / pub / database / models.py
index 0108e83..e46f7af 100644 (file)
@@ -11,6 +11,7 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
+
 from django.db import models
 
 
@@ -164,7 +165,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)