Created
May 19, 2011 17:05
-
-
Save catalogchoice/981233 to your computer and use it in GitHub Desktop.
ruby on rails BIGINT
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
def self.up | |
create_table(:people) do |t| | |
t.integer :number_of_facebook_friends | |
end | |
change_column :people, :number_of_facebook_friends, :bigint | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment