class
CreateResults
<
ActiveRecord::Migration
def
change
create_table
:results
do
|
t
|
t.
string
"result"
,
:limit
=>
40
t.
string
"cal"
,
:limit
=>
40
t.
string
"sum"
,:limit
=>
300
t.
timestamps
end
end
end