Sha256: fc79311bb5637f99104092a30a0d795441b45d7005d6c9fcfe9d7fc602dcc023

Contents?: true

Size: 184 Bytes

Versions: 2

Compression:

Stored size: 184 Bytes

Contents

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

      t.timestamps null: false
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ecm_tags-2.2.1 spec/dummy/db/migrate/20160212134222_create_posts.rb
ecm_tags-2.2.0 spec/dummy/db/migrate/20160212134222_create_posts.rb