From c2bcf2a333a66d401c6afe0589c117f0986a5bd2 Mon Sep 17 00:00:00 2001 From: sebdet Date: Fri, 22 Feb 2019 08:16:26 +0100 Subject: Introduce new entities Introduce new database entities to support the new Clamp model Change-Id: I6c8d7fdaf8201c2bc7878f8a807c89002525857f Issue-ID: CLAMP-299 Signed-off-by: sebdet --- extra/docker/clamp/docker-compose.yml | 2 +- extra/sql/load-sql-files-tests-automation.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'extra') diff --git a/extra/docker/clamp/docker-compose.yml b/extra/docker/clamp/docker-compose.yml index 0821fffa3..5daca056b 100644 --- a/extra/docker/clamp/docker-compose.yml +++ b/extra/docker/clamp/docker-compose.yml @@ -2,7 +2,7 @@ version: '2' services: db: - image: mariadb:10.1.11 + image: mariadb:10.3.12 volumes: - "/var/lib/mysql" - "../mariadb/conf1:/etc/mysql/conf.d:ro" diff --git a/extra/sql/load-sql-files-tests-automation.sh b/extra/sql/load-sql-files-tests-automation.sh index f2f75f68c..19cd516ac 100755 --- a/extra/sql/load-sql-files-tests-automation.sh +++ b/extra/sql/load-sql-files-tests-automation.sh @@ -24,5 +24,8 @@ ### cd /docker-entrypoint-initdb.d/bulkload +### Keep previous DB for now (SOON DEPRECATED) mysql -uroot -p$MYSQL_ROOT_PASSWORD -f < clds-create-db-objects.sql mysql -uroot -p$MYSQL_ROOT_PASSWORD -f < clds-stored-procedures.sql +## New model creation +mysql -uroot -p$MYSQL_ROOT_PASSWORD -f cldsdb4 < create-tables.sql -- cgit 1.2.3-korg