Skip to content

Instantly share code, notes, and snippets.

@lifo
Created September 17, 2008 00:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lifo/11170 to your computer and use it in GitHub Desktop.
Save lifo/11170 to your computer and use it in GitHub Desktop.
class ActiveRecord::Base
extend PoorMigrations
end
class User < ActiveRecord::Base
column :age, :integer
# Always recreate name column
column :name, :string, :force => true
end
User.migrate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment