Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dinky
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangpeng
dinky
Commits
4a17886b
Unverified
Commit
4a17886b
authored
Jul 29, 2024
by
Zzm0809
Committed by
GitHub
Jul 29, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Feature] add 1.1.0 upgrade sql file (#3675)
Signed-off-by:
Zzm0809
<
934230207@qq.com
>
parent
d9726d9b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
0 deletions
+30
-0
V20240729.1.1.0__release.sql
...in/resources/db/migration/h2/V20240729.1.1.0__release.sql
+4
-0
R20240729.1.1.0__release.sql
...resources/db/migration/mysql/R20240729.1.1.0__release.sql
+8
-0
V20240729.1.1.0__release.sql
...resources/db/migration/mysql/V20240729.1.1.0__release.sql
+8
-0
R20240729.1.1.0__release.sql
...resources/db/migration/pgsql/R20240729.1.1.0__release.sql
+5
-0
V20240729.1.1.0__release.sql
...resources/db/migration/pgsql/V20240729.1.1.0__release.sql
+5
-0
No files found.
dinky-admin/src/main/resources/db/migration/h2/V20240729.1.1.0__release.sql
0 → 100644
View file @
4a17886b
INSERT
INTO
`dinky_sys_menu`
(
`parent_id`
,
`name`
,
`path`
,
`component`
,
`perms`
,
`icon`
,
`type`
,
`display`
,
`order_num`
,
`create_time`
,
`update_time`
,
`note`
)
VALUES
(
-
1
,
'工作台'
,
'/home'
,
'./Home'
,
'home'
,
'HomeOutlined'
,
'C'
,
0
,
1
,
'2024-07-29 11:53:38'
,
'2024-07-29 11:53:38'
,
NULL
);
dinky-admin/src/main/resources/db/migration/mysql/R20240729.1.1.0__release.sql
0 → 100644
View file @
4a17886b
#
note
:
Rolling
back
SQL
statements
is
only
necessary
to
perform
a
rollback
operation
in
the
event
of
an
automatic
upgrade
failure
.
The
following
SQL
statements
need
to
be
manually
executed
SET
NAMES
utf8mb4
;
SET
FOREIGN_KEY_CHECKS
=
0
;
delete
from
dinky_sys_menu
where
`parent_id`
=
-
1
and
path
=
'/home'
;
SET
FOREIGN_KEY_CHECKS
=
1
;
dinky-admin/src/main/resources/db/migration/mysql/V20240729.1.1.0__release.sql
0 → 100644
View file @
4a17886b
SET
NAMES
utf8mb4
;
SET
FOREIGN_KEY_CHECKS
=
0
;
INSERT
INTO
`dinky_sys_menu`
(
`parent_id`
,
`name`
,
`path`
,
`component`
,
`perms`
,
`icon`
,
`type`
,
`display`
,
`order_num`
,
`create_time`
,
`update_time`
,
`note`
)
VALUES
(
-
1
,
'工作台'
,
'/home'
,
'./Home'
,
'home'
,
'HomeOutlined'
,
'C'
,
0
,
1
,
'2024-07-29 11:53:38'
,
'2024-07-29 11:53:38'
,
NULL
);
SET
FOREIGN_KEY_CHECKS
=
1
;
dinky-admin/src/main/resources/db/migration/pgsql/R20240729.1.1.0__release.sql
0 → 100644
View file @
4a17886b
#
note
:
Rolling
back
SQL
statements
is
only
necessary
to
perform
a
rollback
operation
in
the
event
of
an
automatic
upgrade
failure
.
The
following
SQL
statements
need
to
be
manually
executed
delete
from
public
.
dinky_sys_menu
where
parent_id
=
-
1
and
path
=
'/home'
;
dinky-admin/src/main/resources/db/migration/pgsql/V20240729.1.1.0__release.sql
0 → 100644
View file @
4a17886b
INSERT
INTO
public
.
dinky_sys_menu
(
parent_id
,
name
,
path
,
component
,
perms
,
icon
,
type
,
display
,
order_num
,
create_time
,
update_time
,
note
)
VALUES
(
-
1
,
'工作台'
,
'/home'
,
'./Home'
,
'home'
,
'HomeOutlined'
,
'C'
,
0
,
1
,
'2024-07-29 11:53:38'
,
'2024-07-29 11:53:38'
,
NULL
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment