Showing
1 changed file
with
20 additions
and
20 deletions
1 | -TRUNCATE TABLE admin_settings; | ||
2 | -TRUNCATE TABLE alarm; | ||
3 | -TRUNCATE TABLE asset; | ||
4 | -TRUNCATE TABLE attribute_kv; | ||
5 | -TRUNCATE TABLE component_descriptor; | ||
6 | -TRUNCATE TABLE customer; | ||
7 | -TRUNCATE TABLE dashboard; | ||
8 | -TRUNCATE TABLE device; | ||
9 | -TRUNCATE TABLE device_credentials; | ||
10 | -TRUNCATE TABLE event; | ||
11 | -TRUNCATE TABLE plugin; | ||
12 | -TRUNCATE TABLE relation; | ||
13 | -TRUNCATE TABLE rule; | ||
14 | -TRUNCATE TABLE tb_user; | ||
15 | -TRUNCATE TABLE tenant; | ||
16 | -TRUNCATE TABLE ts_kv; | ||
17 | -TRUNCATE TABLE ts_kv_latest; | ||
18 | -TRUNCATE TABLE user_credentials; | ||
19 | -TRUNCATE TABLE widget_type; | ||
20 | -TRUNCATE TABLE widgets_bundle; | ||
1 | +DROP TABLE IF EXISTS admin_settings; | ||
2 | +DROP TABLE IF EXISTS alarm; | ||
3 | +DROP TABLE IF EXISTS asset; | ||
4 | +DROP TABLE IF EXISTS attribute_kv; | ||
5 | +DROP TABLE IF EXISTS component_descriptor; | ||
6 | +DROP TABLE IF EXISTS customer; | ||
7 | +DROP TABLE IF EXISTS dashboard; | ||
8 | +DROP TABLE IF EXISTS device; | ||
9 | +DROP TABLE IF EXISTS device_credentials; | ||
10 | +DROP TABLE IF EXISTS event; | ||
11 | +DROP TABLE IF EXISTS plugin; | ||
12 | +DROP TABLE IF EXISTS relation; | ||
13 | +DROP TABLE IF EXISTS rule; | ||
14 | +DROP TABLE IF EXISTS tb_user; | ||
15 | +DROP TABLE IF EXISTS tenant; | ||
16 | +DROP TABLE IF EXISTS ts_kv; | ||
17 | +DROP TABLE IF EXISTS ts_kv_latest; | ||
18 | +DROP TABLE IF EXISTS user_credentials; | ||
19 | +DROP TABLE IF EXISTS widget_type; | ||
20 | +DROP TABLE IF EXISTS widgets_bundle; |