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
Email Patches
Plain Diff
Browse Files
Commit
8133b40010fa7695b1e5316d97592db8fd04cc46
Authored by
xp.Huang
2024-09-04 14:19:33 +0800
1 parent
a3f824e2
feat: 增加1.4.1升级到1.4.2的脚本
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
application/src/main/data/upgrade/thingskit/thingsKit_1.4.1_1.4.2.sql
application/src/main/data/upgrade/thingskit/thingsKit_1.4.1_1.4.2.sql
0 → 100644
View file @
8133b40
1
+
-- 新增排序字段
2
+
ALTER
TABLE
"public"
.
"tk_things_model"
3
+
ADD
COLUMN
"sort"
int4
DEFAULT
0
;
4
+
5
+
COMMENT
ON
COLUMN
"public"
.
"tk_things_model"
.
"sort"
IS
'排序'
;
6
+
-- 修改历史数据
7
+
UPDATE
tk_things_model
SET
sort
=
1
\ No newline at end of file
...
...