Veera S. wrote:
I want to create a table using the rails migration, in which I want to
disable the auto increment option option for the id field. Is there any
way. I know we can avoid the id field as :id => false in migration file.
But I want the id field without auto increment property.
any body is there…
just i want to create a table where id dont have auto increment property
using rails migration file (/db/migrate)…
create_table :users do |t|
t.column “id”, :integer, :auto_increment => false
is it possible. Any comments are welcome.
Thanks with regards,