Created
August 13, 2015 23:43
-
-
Save smathy/1680d13acecb92b501c0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyThing < ActiveRecord::Migration | |
def create_table table_name, options={} | |
super table_name, options.merge(primary_key: :not_id) | |
end | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment