From dcbfd5f2e9f4a16d90c4e49aeed2c5278dbf8f47 Mon Sep 17 00:00:00 2001 From: ’zhaoyh6‘ Date: Wed, 13 Oct 2021 09:50:55 +0800 Subject: fix:Fix create instance problem MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Issue-ID: USECASEUI-605 Signed-off-by: ’zhaoyh6‘ Change-Id: Ia9a6e9e3d3d635beb63a55520c43dcbcea687a10 --- .../assembly/resources/dbscripts/postgres/uui_create_table.sql | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'standalone') diff --git a/standalone/src/main/assembly/resources/dbscripts/postgres/uui_create_table.sql b/standalone/src/main/assembly/resources/dbscripts/postgres/uui_create_table.sql index c1fb78f0..1a29c372 100644 --- a/standalone/src/main/assembly/resources/dbscripts/postgres/uui_create_table.sql +++ b/standalone/src/main/assembly/resources/dbscripts/postgres/uui_create_table.sql @@ -154,8 +154,8 @@ DROP TABLE IF EXISTS instance_performance; CREATE TABLE instance_performance ( id integer not null, - job_id varchar(32), - resource_instance_id varchar(64), + job_id varchar(36), + resource_instance_id varchar(36), bandwidth numeric, date date, max_bandwidth numeric, @@ -172,10 +172,10 @@ CREATE TABLE intent_instance constraint intent_instance_pk primary key, instance_id varchar(16), - job_id varchar(16), + job_id varchar(36), progress integer, status char, - resource_instance_id varchar(16), + resource_instance_id varchar(36), name varchar(255), cloud_point_name varchar(255), access_point_one_name varchar(255), @@ -198,5 +198,5 @@ create table intent_model create_time varchar(100) default NULL::character varying, size numeric(10, 3), active integer, - "modelType" integer default 0 + model_type integer default 0 ); -- cgit 1.2.3-korg