Skip to content

Instantly share code, notes, and snippets.

@regonn
Created November 6, 2013 07:20
Show Gist options
  • Save regonn/7332231 to your computer and use it in GitHub Desktop.
Save regonn/7332231 to your computer and use it in GitHub Desktop.
class CreateItems < ActiveRecord::Migration
def change
create_table :items do |t|
t.string :name
t.integer :price
t.text :description
t.timestamps
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment