0.0
No commit activity in last 3 years
No release in over 3 years
Adds an add_primary_key method for Rails migrations.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Primary Key¶ ↑

Adds an add_primary_key method to Rails migrations.

This can be used as follows:

‘add_primary_key table, [col, col]`

Make sure to add an ‘id: false` option to the `create_table` declaration.