Sha256: 9ca8b719feee3cfd25b653f6343a6aeb99d767dd0a2810ea206df3d0855ae5dd

Contents?: true

Size: 170 Bytes

Versions: 87

Compression:

Stored size: 170 Bytes

Contents

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

      t.timestamps
    end
  end
end

Version data entries

87 entries across 87 versions & 12 rubygems

Version Path
tj_bootstrap_helper-0.0.4 test/dummy/db/migrate/20120724024139_create_posts.rb
tj_bootstrap_helper-0.0.3 test/dummy/db/migrate/20120724024139_create_posts.rb
tj_bootstrap_helper-0.0.2 test/dummy/db/migrate/20120724024139_create_posts.rb
tj_bootstrap_helper-0.0.1 test/dummy/db/migrate/20120724024139_create_posts.rb
slug-engine-0.1.0 test/dummy/db/migrate/20111108195813_create_posts.rb
mysql_simple_fulltext-0.0.3 test/dummy/db/migrate/20120211200406_create_posts.rb
ajax_pagination-0.6.3 spec/rails_app/db/migrate/20120219063632_create_posts.rb
ajax_pagination-0.6.2 spec/rails_app/db/migrate/20120219063632_create_posts.rb
ajax_pagination-0.6.1 spec/rails_app/db/migrate/20120219063632_create_posts.rb
ajax_pagination-0.6.0 spec/rails_app/db/migrate/20120219063632_create_posts.rb
ajax_pagination-0.5.1 spec/rails_app/db/migrate/20120219063632_create_posts.rb
ajax_pagination-0.5.0 spec/rails_app/db/migrate/20120219063632_create_posts.rb
ajax_pagination-0.4.0 spec/rails_app/db/migrate/20120219063632_create_posts.rb
mysql_simple_fulltext-0.0.2 test/dummy/db/migrate/20120211200406_create_posts.rb
mysql_simple_fulltext-0.0.1 test/dummy/db/migrate/20120211200406_create_posts.rb
qqface-0.1.1 test/dummy/db/migrate/20120229092225_create_posts.rb
qqface-0.1.0 test/dummy/db/migrate/20120229092225_create_posts.rb
qqface-0.0.1 test/dummy/db/migrate/20120229092225_create_posts.rb
ajax_pagination-0.3.0 spec/rails_app/db/migrate/20120219063632_create_posts.rb
ajax_pagination-0.2.0 spec/rails_app/db/migrate/20120219063632_create_posts.rb