Re: [Rails] unsigned int in migration

2009-11-23 Thread Jeffrey L. Taylor
Quoting eugenio : > i noticed that rails create signed int(11) for id fields (i'm using > mysql, i don't know if it acts like this with different databases). > i think that unsigned is better for primary keys (and foreign keys). > Is there an easy way to indicate that in a migration? > This comes

[Rails] unsigned int in migration

2009-11-22 Thread eugenio
i noticed that rails create signed int(11) for id fields (i'm using mysql, i don't know if it acts like this with different databases). i think that unsigned is better for primary keys (and foreign keys). Is there an easy way to indicate that in a migration? -- You received this message because y