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

Copy/Move Column #17564

Open
richarddunnebsc opened this issue May 28, 2022 · 4 comments
Open

Copy/Move Column #17564

richarddunnebsc opened this issue May 28, 2022 · 4 comments
Labels
enhancement A feature request for improving phpMyAdmin help wanted

Comments

@richarddunnebsc
Copy link

richarddunnebsc commented May 28, 2022

phpMyAdmin only allows copy/move for tables, that I'm aware of. Columns can only be moved within a table for column ordering. For normalization purposes, instead of having to drop a column from one table, then add/create the same column in another table, it would be really useful to be able to copy and/or move one or more columns from one table to another.

@williamdes
Copy link
Member

Bonjour @richarddunnebsc
That seems like an idea that could be helpful but I am not sure we should implement it because of the complexity it represents
What do you think about it @MauricioFauth ?

@williamdes williamdes added enhancement A feature request for improving phpMyAdmin undecided labels May 30, 2022
@williamdes williamdes added this to Triage zone in Enhancements via automation May 30, 2022
@williamdes williamdes moved this from Triage zone to Export/Import in Enhancements May 30, 2022
@MauricioFauth
Copy link
Member

I think that is a good idea. I was thinking in something similar recently, but it was more like a diff tool for table structures.
To be able to copy/move, it should create the appropriate ALTER TABLE statements. However, I don't know if will be possible to move the rows as well.

@MauricioFauth MauricioFauth moved this from Export/Import to Miscellaneous in Enhancements May 30, 2022
@williamdes
Copy link
Member

I think that is a good idea. I was thinking in something similar recently, but it was more like a diff tool for table structures. To be able to copy/move, it should create the appropriate ALTER TABLE statements. However, I don't know if will be possible to move the rows as well.

Yeah, the data part is tricky but indeed moving or copying the column is definitely an idea

@williamdes
Copy link
Member

This may be related to this old issue #6317

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A feature request for improving phpMyAdmin help wanted
Projects
Enhancements
  
Miscellaneous
Development

No branches or pull requests

3 participants