Skip to content

Instantly share code, notes, and snippets.

@jjb
Created April 30, 2013 05:11
Show Gist options
  • Save jjb/5486702 to your computer and use it in GitHub Desktop.
Save jjb/5486702 to your computer and use it in GitHub Desktop.
class CreateFoos < ActiveRecord::Migration
def change
create_table :foos do |t|
t.timestamps
end
add_column(:foos, :bar, :json)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment