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.

Command icon 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

dinarcon created an issue. See original summary.

dinarcon’s picture

Status: Active » Needs review

Initial 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.

baltowen’s picture

Status: Needs review » Needs work
StatusFileSize
new193.22 KB
new208.45 KB
new137.18 KB
new133.4 KB

I 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.

Alter button
Description
Properly set
Setting is not set

dinarcon’s picture

StatusFileSize
new122.06 KB

Thanks for the review @baltowen I have addressed your feedback. Now looking into phpcs failures.

UI updates

  • dinarcon committed c14877e7 on 1.0.x
    Issue #3543701 by dinarcon, baltowen: Provide a user interface to alter...
dinarcon’s picture

Status: Needs work » Fixed

Pipeline has been fixed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.