view db/migrate/20150914054154_add_language_to_paste.rb @ 428:9fc6b919369c

Whoops, broken the very basic thing Added test.
author nanaya <me@myconan.net>
date Sun, 15 Nov 2015 15:10:01 +0900
parents 080dd141898c
children 4608d12ebe03
line wrap: on
line source

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