aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate/20160101121151_add_language_to_snippet.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20160101121151_add_language_to_snippet.rb')
-rw-r--r--db/migrate/20160101121151_add_language_to_snippet.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20160101121151_add_language_to_snippet.rb b/db/migrate/20160101121151_add_language_to_snippet.rb
new file mode 100644
index 0000000..d3fe545
--- /dev/null
+++ b/db/migrate/20160101121151_add_language_to_snippet.rb
@@ -0,0 +1,5 @@
+class AddLanguageToSnippet < ActiveRecord::Migration[5.0]
+ def change
+ add_column :snippets, :language, :string, null: false
+ end
+end