The module offers the drush auto-increment-alter:tables command to alter the AUTO_INCREMENT multiple tables based on the auto_increment_alter_tables setting. Let's create a user interface for this.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 3543701-ui-updates.png | 122.06 KB | dinarcon |
| #4 | 3543701_no_set.png | 133.4 KB | baltowen |
| #4 | 3543701_properly_set.png | 137.18 KB | baltowen |
| #4 | 3543701_description.png | 208.45 KB | baltowen |
Issue fork auto_increment_alter-3543701
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
dinarcon commentedInitial implementation ready for review at https://git.drupalcode.org/project/auto_increment_alter/-/merge_requests/11
Disclaimer: AI was used to work on this issue.
Comment #4
baltowen commentedI tested the MR, It works as expected. I noticed two things that could be improved: it looks weird that the button appears between the text and the table. The button label “Alter tables” and the tab name “Alter table” are very similar, which could cause confusion between the functionality of the two. Changing to needs work.
Comment #5
dinarcon commentedThanks for the review @baltowen I have addressed your feedback. Now looking into phpcs failures.
Comment #7
dinarcon commentedPipeline has been fixed.