From 0e6c6af2f8f07ce7a959631f5ffb749e1c2ccb28 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Thu, 24 May 2018 14:33:10 +0300 Subject: [PATCH] Fixed upgrade script. --- .../src/main/data/upgrade/2.0.0/schema_update.cql | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/application/src/main/data/upgrade/2.0.0/schema_update.cql b/application/src/main/data/upgrade/2.0.0/schema_update.cql index c2b296dbcb..5f46878d6a 100644 --- a/application/src/main/data/upgrade/2.0.0/schema_update.cql +++ b/application/src/main/data/upgrade/2.0.0/schema_update.cql @@ -94,10 +94,10 @@ CREATE TABLE IF NOT EXISTS thingsboard.rule_node ( PRIMARY KEY (id) ); -DROP MATERIALIZED VIEW IF EXISTS rule_by_plugin_token; -DROP MATERIALIZED VIEW IF EXISTS rule_by_tenant_and_search_text; -DROP MATERIALIZED VIEW IF EXISTS plugin_by_api_token; -DROP MATERIALIZED VIEW IF EXISTS plugin_by_tenant_and_search_text; +DROP MATERIALIZED VIEW IF EXISTS thingsboard.rule_by_plugin_token; +DROP MATERIALIZED VIEW IF EXISTS thingsboard.rule_by_tenant_and_search_text; +DROP MATERIALIZED VIEW IF EXISTS thingsboard.plugin_by_api_token; +DROP MATERIALIZED VIEW IF EXISTS thingsboard.plugin_by_tenant_and_search_text; -DROP TABLE IF EXISTS rule; -DROP TABLE IF EXISTS plugin; +DROP TABLE IF EXISTS thingsboard.rule; +DROP TABLE IF EXISTS thingsboard.plugin;