Sha256: bdf179e7a4f43fdb29ada2e078fceed2e8588b13ad97ba73d5bd304bae193488
Contents?: true
Size: 113 Bytes
Versions: 1
Compression:
Stored size: 113 Bytes
Contents
class AddBodyToPosts < ActiveRecord::Migration[5.1] def change add_column :posts, :body, :string end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
link_to_add_fields-0.1.0 | spec/dummy/db/migrate/20171003174822_add_body_to_posts.rb |