• Resolved codi0

    (@codi0)


    Firstly, very nice plugin. πŸ™‚

    After successfully using the plugin a while ago, I recently cloned the database from one place to another (using workbench). I received a warning that MySQL wouldn’t add auto_increment to a non-primary column.

    The original database does still have auto_increment applied to the option_id column, but the copied version doesn’t.

    EDIT: I’m assuming this might be related to how the table is re-created in the clone, as I did read in the plugin comments that’s it’s necessary for option_id unique index to be the first one in order to retain auto_increment (and I assume the cloning process might put the primary key first).

    Would it make sense for the plugin to add auto_increment if it’s missing on the option_id column, when reverting to the standard indexes or (re-)applying the optimised indexes?

    • This topic was modified 8 months ago by codi0.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author OllieJones

    (@olliejones)

    Thanks for the heads-up about this.

    Could you please upload your metadata, following the instructions in the pinned topic in this forum?

    Is it possible that MySQL Workbench (I guess that is what you use) is being too helpful?

    Plugin Author OllieJones

    (@olliejones)

    I haven’t heard back. Please don’t hesitate to open another topic if I can help further.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WP options table and auto_increment’ is closed to new replies.