annotate db/migrate/20150914054154_add_language_to_paste.rb @ 442:1fc5ddcde386

Some refactors
author nanaya <me@myconan.net>
date Thu, 10 Nov 2016 21:58:25 +0900
parents 080dd141898c
children 4608d12ebe03
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
417
080dd141898c Add support for explicit highlighter languages
nanaya <me@myconan.net>
parents:
diff changeset
1 class AddLanguageToPaste < ActiveRecord::Migration
080dd141898c Add support for explicit highlighter languages
nanaya <me@myconan.net>
parents:
diff changeset
2 def change
080dd141898c Add support for explicit highlighter languages
nanaya <me@myconan.net>
parents:
diff changeset
3 add_column :pastes, :language, :string
080dd141898c Add support for explicit highlighter languages
nanaya <me@myconan.net>
parents:
diff changeset
4 end
080dd141898c Add support for explicit highlighter languages
nanaya <me@myconan.net>
parents:
diff changeset
5 end