Skip to content

Instantly share code, notes, and snippets.

@cheerfulstoic
Created December 23, 2016 13:53
Show Gist options
  • Save cheerfulstoic/7ace53e80a6d9efc75b30b376b97da1a to your computer and use it in GitHub Desktop.
Save cheerfulstoic/7ace53e80a6d9efc75b30b376b97da1a to your computer and use it in GitHub Desktop.
Rails generator wizard idea
rails g migration
What would you like to call your migration? > Something
Which of the following would you like to do:
1 - create a table
2 - add a column
3 - remove a column
# etc…
> 1
What would you like to call your table? somethings
Please give the first column for your table: name
What type should the `name` column be?
1 - string
2 - integer
# etc…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment