Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: duplicate key value violates unique constraint "dinky_sys_menu_pkey" #3860

Closed
2 of 3 tasks
caesar168 opened this issue Oct 9, 2024 · 2 comments
Closed
2 of 3 tasks
Labels
Bug Something isn't working Fixed the bug has fixed

Comments

@caesar168
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

What happened


SQL State : 23505
Error Code : 0
Message : ERROR: duplicate key value violates unique constraint "dinky_sys_menu_pkey"
Detail: Key (id)=(2) already exists.
Location : db/migration/pgsql/V20240729.1.1.0__release.sql (/home/vcs/dinky-release-1.19-1.1.0/file:/home/vcs/dinky-release-1.19-1.1.0/lib/dinky-admin-1.1.0.jar!/db/migration/pgsql/V20240729.1.1.0__release.sql)
Line : 6
Statement : INSERT INTO public.dinky_sys_menu (parent_id, name, path, component, perms, icon, type, display, order_num,
create_time, update_time, note)
VALUES (164, '仪表盘列表', '/dashboard/list', './Dashboard', 'dashboard:list', 'UnorderedListOutlined', 'F', 0, 167,
'2024-07-29 15:37:46', '2024-07-29 15:37:46', NULL)

What you expected to happen

Using PG as the backend database, an error was reported when starting the service, and I executed the PG initialization SQL script

How to reproduce

Use PG as the backend database, use PG16.4, and start DINKY

Anything else

No response

Version

1.1.0

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@caesar168 caesar168 added Bug Something isn't working Waiting for reply Waiting for reply labels Oct 9, 2024
@Zzm0809 Zzm0809 added Fixed the bug has fixed and removed Waiting for reply Waiting for reply labels Oct 9, 2024
Copy link

github-actions bot commented Oct 9, 2024

Hello @caesar168, thank you for your feedback, but this issue has been fixed. You can search for keywords in the Issue list to view it. Issues are marked as `Fixed`.

你好 @caesar168, 感谢你的反馈, 但是此问题已经被修复了,你可以在 Issue 列表中搜索关键字来查看, Issues 标注为 `Fixed` 。

Copy link

Hi @, Since this issue was marked as fixed, no response has been received for 2 days. The issue is now closed. If you have any questions, please comment and reply.

Hi @, 由于该 issue 被标记为已修复,却 2 天未收到回应。现关闭 issue,若有任何问题,可评论回复。

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Fixed the bug has fixed
Projects
None yet
Development

No branches or pull requests

2 participants