-
January 20, 2024, 05:13 PM
#1
Senior Member
Is there a listing ID and/or category ID counter stored somewhere?
Does flynax store a counter that it uses to pick the next listing ID # or the next category ID # when creating either a new listing or a new category?
-
January 21, 2024, 09:53 AM
#2
Flynax developer
By default, listing and category ids are generated automatically according to the "UNIQUE index" in mysql tables
-
January 21, 2024, 08:04 PM
#3
Senior Member
Thanks!
In setting up, I've deleted all but one category and run the category import multiple times, and now my category ID is up to 712 with a total of 176 categories.
If I run it a few more times before my final setup is done, I may want to reset the UNIQUE index so my final category IDs stay three digits instead of rolling over to four digits...
-
January 21, 2024, 08:08 PM
#4
Senior Member
I also might want to create a new stat.
We have stat for total number of listings currently on the site.
I may also want a stat counter for total number of listings posted on the site (current and deleted) which would be the ID# of the latest listing.