Sha256: 929cec82b3b63ab5ee2aa00605174b7a15f22ce58ca14f643ddf61b046bddb29

Contents?: true

Size: 167 Bytes

Versions: 76

Compression:

Stored size: 167 Bytes

Contents

class CreatePosts < ActiveRecord::Migration
  def change
    create_table :posts do |t|
      t.string :title
      t.text :text

      t.timestamps
    end
  end
end

Version data entries

76 entries across 76 versions & 4 rubygems

Version Path
rails-4.1.16 guides/code/getting_started/db/migrate/20130122042648_create_posts.rb
rails-4.1.16.rc1 guides/code/getting_started/db/migrate/20130122042648_create_posts.rb
rails-4.1.15 guides/code/getting_started/db/migrate/20130122042648_create_posts.rb
rails-4.1.15.rc1 guides/code/getting_started/db/migrate/20130122042648_create_posts.rb
rails-4.1.14.2 guides/code/getting_started/db/migrate/20130122042648_create_posts.rb
rails-4.1.14.1 guides/code/getting_started/db/migrate/20130122042648_create_posts.rb
angular-rails4-templates-0.4.1 vendor/ruby/2.1.0/gems/rails-4.1.13/guides/code/getting_started/db/migrate/20130122042648_create_posts.rb
angular-rails4-templates-0.4.0 vendor/ruby/2.1.0/gems/rails-4.1.13/guides/code/getting_started/db/migrate/20130122042648_create_posts.rb
angular-rails4-templates-0.3.0 vendor/ruby/2.1.0/gems/rails-4.1.13/guides/code/getting_started/db/migrate/20130122042648_create_posts.rb
rails-4.1.14 guides/code/getting_started/db/migrate/20130122042648_create_posts.rb
rails-4.1.14.rc2 guides/code/getting_started/db/migrate/20130122042648_create_posts.rb
rails-4.1.14.rc1 guides/code/getting_started/db/migrate/20130122042648_create_posts.rb
rails-4.1.13 guides/code/getting_started/db/migrate/20130122042648_create_posts.rb
rails-4.1.13.rc1 guides/code/getting_started/db/migrate/20130122042648_create_posts.rb
rails-4.1.12 guides/code/getting_started/db/migrate/20130122042648_create_posts.rb
rails-4.1.12.rc1 guides/code/getting_started/db/migrate/20130122042648_create_posts.rb
rails-4.1.11 guides/code/getting_started/db/migrate/20130122042648_create_posts.rb
rails-4.1.10 guides/code/getting_started/db/migrate/20130122042648_create_posts.rb
rails-4.1.10.rc4 guides/code/getting_started/db/migrate/20130122042648_create_posts.rb
rails-4.1.10.rc3 guides/code/getting_started/db/migrate/20130122042648_create_posts.rb