Created
April 28, 2013 14:41
-
-
Save pbalduino/5477064 to your computer and use it in GitHub Desktop.
E esse é o arquivo de migration que altera o nome
This file contains hidden or 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 ChangeNomeSizeInDepartamento < ActiveRecord::Migration | |
def up | |
change_column(:departamentos, :nome, :string, :limit => 60, :null => false) | |
end | |
def down | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment