Skip to content

Instantly share code, notes, and snippets.

@dujo-stack
Last active September 24, 2019 08:17
Show Gist options
  • Save dujo-stack/f26df62982edb0d125a9f0a086790e29 to your computer and use it in GitHub Desktop.
Save dujo-stack/f26df62982edb0d125a9f0a086790e29 to your computer and use it in GitHub Desktop.
20190924062552_add_body_to_articles.rb
class AddBodyToArticles < ActiveRecord::Migration[5.1]
def change
add_column :articles, :body, :string
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment