Skip to content

Instantly share code, notes, and snippets.

@Sanix-Darker
Created October 27, 2017 11:07
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sanix-Darker/8e652ba5fa7f8b98a7ef6fd82eee9a11 to your computer and use it in GitHub Desktop.
Save Sanix-Darker/8e652ba5fa7f8b98a7ef6fd82eee9a11 to your computer and use it in GitHub Desktop.
[Rails] Add column via console
rails generate migration AddPartNumberToProducts part_number:string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment