Created
August 2, 2013 13:54
-
-
Save andoneve/6140065 to your computer and use it in GitHub Desktop.
This file contains 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 ChangeColumn < ActiveRecord::Migration | |
def change | |
def up | |
change_column :resources, :summary, :text | |
end | |
def down | |
change_column :resources, :summary, :string | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment