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;