Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Phoenix] Auto numbering the items table

Developer
Member
Joined
Jul 28, 2009
Messages
983
Reaction score
133
Hey,

I'd like to code a furniture shop in my cms, but phoenix uses the method lastinsertedid. so it will duplicate items.
If i auto number the id field, will it mess everything up or should it work fine?
 
Initiate Mage
Joined
Dec 16, 2012
Messages
41
Reaction score
11
It should work Fine, Unless you screw something up when you try to auto number it.
I'm not too sure, just in case search for a thread somewhere on google that might help you if you want to auto-number.
 
Upvote 0
Developer
Member
Joined
Jul 28, 2009
Messages
983
Reaction score
133
If i am right, the database would change the id of the inserted sql in phoenix. So theoretically it would work.
 
Upvote 0
Back
Top