1. class CreateResults < ActiveRecord::Migration
  2.   def change
  3.     create_table :results do |t|
  4.         t.string "result", :limit => 40
  5.         t.string "cal", :limit => 40
  6.         t.string "sum",:limit => 300
  7.       t.timestamps
  8.     end
  9.   end
  10. end