From e54db1fb3b8594c0524d9da4c7f645708fd6c6c3 Mon Sep 17 00:00:00 2001 From: "Sonsino, Ofir (os0695)" Date: Sun, 21 Oct 2018 14:29:55 +0300 Subject: creating the schema_info table Change-Id: If121403cb66c26a67a3d4b110ddc9874bf8f3040 Issue-ID: VID-332 Signed-off-by: Sonsino, Ofir (os0695) --- epsdk-app-onap/src/main/resources/vid-schema.sql | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'epsdk-app-onap/src') diff --git a/epsdk-app-onap/src/main/resources/vid-schema.sql b/epsdk-app-onap/src/main/resources/vid-schema.sql index 3f15c88aa..2833cbd7b 100755 --- a/epsdk-app-onap/src/main/resources/vid-schema.sql +++ b/epsdk-app-onap/src/main/resources/vid-schema.sql @@ -33,6 +33,22 @@ SET FOREIGN_KEY_CHECKS = 0; CREATE SCHEMA IF NOT EXISTS `vid_openecomp_epsdk` ; USE vid_openecomp_epsdk; + + +CREATE TABLE IF NOT EXISTS `vid_openecomp_epsdk`.`schema_info` ( + `SCHEMA_ID` VARCHAR(25) NOT NULL, + `SCHEMA_DESC` VARCHAR(75) NOT NULL, + `DATASOURCE_TYPE` VARCHAR(100) NULL DEFAULT NULL, + `CONNECTION_URL` VARCHAR(200) NOT NULL, + `USER_NAME` VARCHAR(45) NOT NULL, + `PASSWORD` VARCHAR(45) NULL DEFAULT NULL, + `DRIVER_CLASS` VARCHAR(100) NOT NULL, + `MIN_POOL_SIZE` INT(11) NOT NULL, + `MAX_POOL_SIZE` INT(11) NOT NULL, + `IDLE_CONNECTION_TEST_PERIOD` INT(11) NOT NULL) +ENGINE = InnoDB +DEFAULT CHARACTER SET = utf8; + -- ---------------------------------------------------------------------------- -- Table vid_openecomp_epsdk.cr_favorite_reports -- ---------------------------------------------------------------------------- -- cgit 1.2.3-korg