summaryrefslogtreecommitdiffstats
path: root/components/datalake-handler/feeder/src/assembly
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2020-01-14 18:58:01 +0000
committerGerrit Code Review <gerrit@onap.org>2020-01-14 18:58:01 +0000
commitd8f49d0e0e3f1027b66853222b28c58e4e2986d9 (patch)
treeb8a7f336b73b27d48cf4c064991d218e24bcda1a /components/datalake-handler/feeder/src/assembly
parent9d0c6f3d9838e9c4077a971771da2a0053a88759 (diff)
parent101636b49968dab8a409861d48bcdc6e75df50ee (diff)
Merge "Modified resp topicConfig and add getTopicName()"
Diffstat (limited to 'components/datalake-handler/feeder/src/assembly')
-rw-r--r--components/datalake-handler/feeder/src/assembly/scripts/init_db.sql4
1 files changed, 2 insertions, 2 deletions
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,