Skip to content

Instantly share code, notes, and snippets.

@pbalduino
Last active December 16, 2015 18:20
Show Gist options
  • Save pbalduino/5477060 to your computer and use it in GitHub Desktop.
Save pbalduino/5477060 to your computer and use it in GitHub Desktop.
Criando um arquivo migration. O símbolo de $ indica que estou no prompt do sistema operacional e você não deve digitá-lo,
rails g migration ChangeNomeSizeInDepartamento
invoke active_record
create db/migrate/20130428143550_change_nome_size_in_departamento.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment