diff options
-rw-r--r-- | lcm/pub/database/models.py | 2 | ||||
-rw-r--r-- | resources/dbscripts/mysql/vfc-nfvo-lcm-createobj.sql | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lcm/pub/database/models.py b/lcm/pub/database/models.py index 35de4e44..306cc510 100644 --- a/lcm/pub/database/models.py +++ b/lcm/pub/database/models.py @@ -46,6 +46,8 @@ class NSInstModel(models.Model): scale_params = models.TextField(db_column='SCALEPARAMS', max_length=2000, null=True, blank=True) create_time = models.CharField(db_column='CREATETIME', max_length=200, null=True, blank=True) lastuptime = models.CharField(db_column='LASTUPTIME', max_length=200, null=True, blank=True) + global_customer_id = models.CharField(db_column='GLOBALCUSTOMERID', max_length=50, null=True, blank=True) + service_type = models.CharField(db_column='SERVICETYPE', max_length=50, null=True, blank=True) class NfPackageModel(models.Model): diff --git a/resources/dbscripts/mysql/vfc-nfvo-lcm-createobj.sql b/resources/dbscripts/mysql/vfc-nfvo-lcm-createobj.sql index b2588f05..79c48509 100644 --- a/resources/dbscripts/mysql/vfc-nfvo-lcm-createobj.sql +++ b/resources/dbscripts/mysql/vfc-nfvo-lcm-createobj.sql @@ -143,7 +143,9 @@ CREATE TABLE NFVO_NSINST ( `INPUTPARAMS` longtext NULL, `SCALEPARAMS` longtext NULL, `CREATETIME` varchar(200) NULL, - `LASTUPTIME` varchar(200) NULL + `LASTUPTIME` varchar(200) NULL, + `GLOBALCUSTOMERID` varchar(50) NULL, + `SERVICETYPE` varchar(50) NULL ); DROP TABLE IF EXISTS NFVO_PORTINST; |