Sha256: 136c3d6d3d047716e0adfa243d4eb7a99e1e3f72894c88dbbeaa0079d331b0e5

Contents?: true

Size: 174 Bytes

Versions: 7

Compression:

Stored size: 174 Bytes

Contents

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

      t.timestamps
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
themes_on_rails-0.4.0 spec/dummy/db/migrate/20131120082307_create_posts.rb
themes_on_rails-0.3.1 spec/dummy/db/migrate/20131120082307_create_posts.rb
themes_on_rails-0.3.0 spec/dummy/db/migrate/20131120082307_create_posts.rb
themes_on_rails-0.2.2 spec/dummy/db/migrate/20131120082307_create_posts.rb
themes_on_rails-0.2.1 spec/dummy/db/migrate/20131120082307_create_posts.rb
themes_on_rails-0.2.0 spec/dummy/db/migrate/20131120082307_create_posts.rb
themes_on_rails-0.1.0 spec/dummy/db/migrate/20131120082307_create_posts.rb