Sign in
简柏林
/
thingskit
·
Commits
GitLab
Go to dashboard
Project
Activity
Files
Commits
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Network
Download as
Plain Diff
Browse Files
Commit
af5791ab7a1aac5f73b1e677f793fab7df411306
Authored by
Igor Kulikov
2018-05-18 16:55:35 +0300
2 parents
f73fbc5e
8bdde06f
Merge branch 'develop/2.0' of github.com:thingsboard/thingsboard into develop/2.0
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
application/src/main/data/upgrade/1.5.0/schema_update.sql
application/src/main/data/upgrade/1.5.0/schema_update.sql
View file @
af5791a
...
...
@@ -39,3 +39,6 @@ CREATE TABLE IF NOT EXISTS rule_node (
39
39
40
40
DROP
TABLE
rule
;
41
41
DROP
TABLE
plugin
;
42
+
43
+
DELETE
FROM
alarm
WHERE
originator_type
=
3
OR
originator_type
=
4
;
44
+
UPDATE
alarm
SET
originator_type
=
(
originator_type
-
2
)
where
originator_type
>
2
;
...
...