Add_primary_key in AR script

Hi,

We use “add_primary_key” method in the active record script to create
primary key in a table. But this method does not allow us to create our
own primary key constraint name.

Is there a way where we can give our own constraint name ?

please help !! Appreciate your response.

Thanks,
John

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs