Sorry for the slow answer, your message slipped under my radar. On Dec 11, 2007 2:46 AM, alex bodnaru <[EMAIL PROTECTED]> wrote:
> can i declare an arbitrary index in a model file? Yes, provided you respect some rules. The thing is that the index makes reference to the table columns. It means those columns must exist, and for that you need the entity which "provides" those columns to be setup. The easiest way is then to declare all your entities, then call setup_all(), then only declare your indexes. -- Gaƫtan de Menten http://openhex.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SQLElixir" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlelixir?hl=en -~----------~----~----~----~------~----~------~--~---
