Showing
1 changed file
with
6 additions
and
6 deletions
@@ -94,10 +94,10 @@ CREATE TABLE IF NOT EXISTS thingsboard.rule_node ( | @@ -94,10 +94,10 @@ CREATE TABLE IF NOT EXISTS thingsboard.rule_node ( | ||
94 | PRIMARY KEY (id) | 94 | PRIMARY KEY (id) |
95 | ); | 95 | ); |
96 | 96 | ||
97 | -DROP MATERIALIZED VIEW IF EXISTS rule_by_plugin_token; | ||
98 | -DROP MATERIALIZED VIEW IF EXISTS rule_by_tenant_and_search_text; | ||
99 | -DROP MATERIALIZED VIEW IF EXISTS plugin_by_api_token; | ||
100 | -DROP MATERIALIZED VIEW IF EXISTS plugin_by_tenant_and_search_text; | 97 | +DROP MATERIALIZED VIEW IF EXISTS thingsboard.rule_by_plugin_token; |
98 | +DROP MATERIALIZED VIEW IF EXISTS thingsboard.rule_by_tenant_and_search_text; | ||
99 | +DROP MATERIALIZED VIEW IF EXISTS thingsboard.plugin_by_api_token; | ||
100 | +DROP MATERIALIZED VIEW IF EXISTS thingsboard.plugin_by_tenant_and_search_text; | ||
101 | 101 | ||
102 | -DROP TABLE IF EXISTS rule; | ||
103 | -DROP TABLE IF EXISTS plugin; | 102 | +DROP TABLE IF EXISTS thingsboard.rule; |
103 | +DROP TABLE IF EXISTS thingsboard.plugin; |