diff db/migrate/20150914054154_add_language_to_paste.rb @ 417:080dd141898c

Add support for explicit highlighter languages
author nanaya <me@myconan.net>
date Mon, 14 Sep 2015 14:50:35 +0900
parents
children 4608d12ebe03
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/db/migrate/20150914054154_add_language_to_paste.rb	Mon Sep 14 14:50:35 2015 +0900
@@ -0,0 +1,5 @@
+class AddLanguageToPaste < ActiveRecord::Migration
+  def change
+    add_column :pastes, :language, :string
+  end
+end