rendered paste bodyclass CreateHikes < ActiveRecord::Migration def self.up create_table "hikes", :force => true do |t| t.column :namne, :string, :limit => 100 t.column :description, :string, :limit => 255 t.column :difficulty, :integer t.column :length, :integer t.column :elevation, :integer t.column :weather, :string, :limit 255 t.column :terrain, :string, :limit 255 t.column :maintenance, :string, :limit 255 t.column :hazards, :string, :limit 255 t.column :trail_head, :integer t.column :parking_cost, :integer t.column :parking_time, :integer t.column :created_at, :datetime, :null => false t.column :created_by, :integer, :null => false t.column :updated_at, :datetime t.column :updated_by, :integer t.column :deleted_at, :datetime t.column :deleted_by, :integer end end def self.down drop_table "hikes" end end