Thanks , but leaving Rails calling it just id , any potential problems ?
Stuart
On 6/12/06, sthibaudeau@sqli.com <sthibaudeau@sqli.com>
wrote:>
> create_table :table_name, :primary_key =>
''your_PK_name''
>
> > I set up a migration yesterday for the first time and remembered that
> > Rails
> > will assign a primary id column on it''s own. No need to put
it in to
> the
> > SQL.
> > The name of the column though is just "id", is there a way
to over ride
> > the
> > default if I wanted ?
> >
> > TIA
> > Stuart
> > _______________________________________________
> > Rails mailing list
> > Rails@lists.rubyonrails.org
> > http://lists.rubyonrails.org/mailman/listinfo/rails
> >
>
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060612/692a8403/attachment.html