From 101636b49968dab8a409861d48bcdc6e75df50ee Mon Sep 17 00:00:00 2001 From: ZhangZihao Date: Thu, 19 Dec 2019 11:30:21 +0800 Subject: Modified resp topicConfig and add getTopicName() Change-Id: I06db2663534c970b76244f462da66d2c72b11f12 Issue-ID: DCAEGEN2-1877 Signed-off-by: ZhangZihao --- components/datalake-handler/feeder/src/assembly/scripts/init_db.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'components/datalake-handler/feeder/src/assembly') diff --git a/components/datalake-handler/feeder/src/assembly/scripts/init_db.sql b/components/datalake-handler/feeder/src/assembly/scripts/init_db.sql index 8a914270..3f495e2d 100644 --- a/components/datalake-handler/feeder/src/assembly/scripts/init_db.sql +++ b/components/datalake-handler/feeder/src/assembly/scripts/init_db.sql @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * ONAP : DATALAKE * ================================================================================ -* Copyright 2019 China Mobile +* Copyright 2019-2020 China Mobile *================================================================================= * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -98,7 +98,7 @@ CREATE TABLE `kafka` ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8; CREATE TABLE `topic` ( - `id` int(11) NOT NULL, + `id` int(11) NOT NULL AUTO_INCREMENT, `aggregate_array_path` varchar(255) DEFAULT NULL, `correlate_cleared_message` bit(1) NOT NULL DEFAULT b'0', `data_format` varchar(255) DEFAULT NULL, -- cgit 1.2.3-korg