Skip to content

Instantly share code, notes, and snippets.

@sauloperez
Created January 31, 2017 08:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sauloperez/1f60c16668dbc39fcca2ccd83e4c2361 to your computer and use it in GitHub Desktop.
Save sauloperez/1f60c16668dbc39fcca2ccd83e4c2361 to your computer and use it in GitHub Desktop.
class AddFirstNameToUsers < ActiveRecord::Migration
def change
add_column :users, :first_name, :string
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment