view db/migrate/20150914054154_add_language_to_paste.rb @ 425:9369ad2f2ce8

Simplify logic
author nanaya <me@myconan.net>
date Mon, 26 Oct 2015 14:09:13 +0900
parents 080dd141898c
children 4608d12ebe03
line wrap: on
line source

class AddLanguageToPaste < ActiveRecord::Migration
  def change
    add_column :pastes, :language, :string
  end
end