retest/db/migrate/20131003210237_create_produ...

13 lines
217 B
Ruby

class CreateProducts < ActiveRecord::Migration
def change
create_table :products do |t|
t.string :name
t.integer :qnt
t.float :val
t.boolean :active
t.timestamps
end
end
end