[eluser]Unknown[/eluser]
Hi devs,
I'm considering migrating an existing application to CI. I'm wondering if someone can advise me on a concern I have.
Our application schema (mysql) has about 50 tables. Most of the primary keys are _not_ auto_increment. They are 32 character strings. Our existing framework generates an md5 hash when inserting a new record, rather than relying on mysql to generate a new id.
What kind of headaches can I expect when moving my application? Are there any tips? Is there some sort of "get next id" method that I can override in the db class? Or, is there anything elegant I can do in a model? I'd really appreciate any advice.
Fwiw, changing our existing schema from char(32) to int is not an option.
Thanks in advance!
Matt