• Resolved sethbahookey

    (@sethbahookey)


    Hello,

    I’m revamping all my tablepress tables on my website and I do this through SQL. I wiped the DB clean of all my tables, but when I went in to add a new table it started the IDs right where they left off. So now my first new table is table id = 43. I want it to be clean so I want it to start back at 1.

    Where are these IDs stored in the database so I can wipe them as well. I’m assuming wp_postmeta but I don’t want to get to crazy with my delete statements ??

Viewing 1 replies (of 1 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    TablePress stores the IDs and the connected post IDs in the wp_options table. There, you will find the tablepress_tables option, which holds those connections. The information about which table ID will be used next is however stored in the tablepress_options option in that DB table. Both are JSON encoded arrays.

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘Where is tablepress ID stored in DB?’ is closed to new replies.