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

Relation view should default to current database when creating relations #16464

Closed
ibennetch opened this issue Nov 7, 2020 · 0 comments · Fixed by #16579
Closed

Relation view should default to current database when creating relations #16464

ibennetch opened this issue Nov 7, 2020 · 0 comments · Fixed by #16579
Assignees
Labels
enhancement A feature request for improving phpMyAdmin has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete ui Issues relating to the user interface
Milestone

Comments

@ibennetch
Copy link
Member

Is your feature request related to a problem? Please describe.

When going to the Relation view for a table, the Foreign key constraints area can set up a relationship with any database on the system, but most of the time I want to create a relationship with a table in my current database. I propose that the "Foreign key constraint (INNODB)" dropdown should populate the Database with the current database.

Describe the solution you'd like

The dropdown for Database should be filled in already with the current database.

Describe alternatives you've considered

Additional context

  • phpMyAdmin version:

Master Git

@williamdes williamdes added this to Triage zone in Enhancements via automation Nov 11, 2020
@williamdes williamdes added enhancement A feature request for improving phpMyAdmin ui Issues relating to the user interface labels Nov 11, 2020
shucon added a commit to shucon/phpmyadmin that referenced this issue Jan 16, 2021
Signed-off-by: Saksham Gupta <shucon01@gmail.com>
shucon added a commit to shucon/phpmyadmin that referenced this issue Jan 21, 2021
Signed-off-by: Saksham Gupta <shucon01@gmail.com>
@williamdes williamdes added this to the 5.1.0 milestone Jan 21, 2021
@williamdes williamdes added the has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete label Jan 21, 2021
@williamdes williamdes self-assigned this Jan 21, 2021
williamdes added a commit to shucon/phpmyadmin that referenced this issue Jan 21, 2021
Signed-off-by: William Desportes <williamdes@wdes.fr>
williamdes added a commit that referenced this issue Jan 21, 2021
…rent database when creating relations

Pull-request: #16579
Fixes: #16464
Signed-off-by: William Desportes <williamdes@wdes.fr>
Enhancements automation moved this from Triage zone to Done Jan 21, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement A feature request for improving phpMyAdmin has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete ui Issues relating to the user interface
Projects
Enhancements
  
Done
Development

Successfully merging a pull request may close this issue.

2 participants