Hello RageZone.
As this is my first post in here , i hope i don't make anything wrong.
Today , i came here to release a small query that recounts the ID's on the Catalog_Items table.
For those that keep adding furni that has got ID's like 1000000 or so , you can use this query , to recount all id's on catalog_items make it more organized.
Is this NECESSARY or DOES IT make diffrence on your hotel?
IT ISN'T NECESSARY, i'm just posting this for the ones that like to keep things organized.
Feel free to comment!
Edit : 23:04 GMT+0 Added "unsigned" because an issue with Phoenix Emulator 3.8.1Code:ALTER TABLE `catalog_items` DROP `id`; ALTER TABLE `catalog_items` ADD `id` INT( 10 ) unsigned NOT NULL AUTO_INCREMENT FIRST, ADD PRIMARY KEY ( `id` );
Tested on Uber/Phoenix database.
OBS : If you have any php that relies on catalog_items ID's DO NOT USE THIS.
Thanks for reading!
Biblioteca13


Reply With Quote



