eshop/db/migrate/20140214161051_create_infor...

13 lines
234 B
Ruby

class CreateInformation < ActiveRecord::Migration
def change
create_table :information do |t|
t.string :name
t.text :description
t.integer :type_of
t.boolean :active
t.timestamps
end
end
end