Sha256: b8f54a3bc5a81343c762fc097a390b31aa586fceeecff9fe56fe3d4c184e6bee

Contents?: true

Size: 249 Bytes

Versions: 38

Compression:

Stored size: 249 Bytes

Contents

class CreatePeople < ActiveRecord::Migration
  def self.up
    create_table :people do |t|
      t.string :name
      t.string :description
      t.integer :post_id

      t.timestamps
    end
  end

  def self.down
    drop_table :people
  end
end

Version data entries

38 entries across 38 versions & 4 rubygems

Version Path
cocoon-1.2.14 spec/dummy/db/migrate/20110420222224_create_people.rb
cocoon-1.2.13 spec/dummy/db/migrate/20110420222224_create_people.rb
cocoon-1.2.12 spec/dummy/db/migrate/20110420222224_create_people.rb
cocoon-1.2.11 spec/dummy/db/migrate/20110420222224_create_people.rb
cocoon-1.2.10 spec/dummy/db/migrate/20110420222224_create_people.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/cocoon-1.2.9/spec/dummy/db/migrate/20110420222224_create_people.rb
cocoon-1.2.9 spec/dummy/db/migrate/20110420222224_create_people.rb
cocoon-1.2.8 spec/dummy/db/migrate/20110420222224_create_people.rb
cocoon-1.2.7 spec/dummy/db/migrate/20110420222224_create_people.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/cocoon-1.2.6/spec/dummy/db/migrate/20110420222224_create_people.rb
king_views-1.2.0 spec/rails_app/db/migrate/20110420222224_create_people.rb
cocoon-1.2.6 spec/dummy/db/migrate/20110420222224_create_people.rb
cocoon-1.2.5 spec/dummy/db/migrate/20110420222224_create_people.rb
cocoon-1.2.4 spec/dummy/db/migrate/20110420222224_create_people.rb
cocoon-1.2.3 spec/dummy/db/migrate/20110420222224_create_people.rb
cocoon-1.2.2 spec/dummy/db/migrate/20110420222224_create_people.rb
cocoon-1.2.1 spec/dummy/db/migrate/20110420222224_create_people.rb
cocoon-1.2.0 spec/dummy/db/migrate/20110420222224_create_people.rb
cocoon-1.1.2 spec/dummy/db/migrate/20110420222224_create_people.rb
cocoon-1.1.1 spec/dummy/db/migrate/20110420222224_create_people.rb