From 009e044b8944c3ba57d7e60d9f7f8278a073dfcb Mon Sep 17 00:00:00 2001
From: Marcela Ribeiro de Oliveira <mro15@inf.ufpr.br>
Date: Tue, 8 Aug 2017 10:58:29 -0300
Subject: [PATCH] add infohash to attachment

---
 ...808132744_add_info_hash_to_learning_object_attachments.rb | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 db/migrate/20170808132744_add_info_hash_to_learning_object_attachments.rb

diff --git a/db/migrate/20170808132744_add_info_hash_to_learning_object_attachments.rb b/db/migrate/20170808132744_add_info_hash_to_learning_object_attachments.rb
new file mode 100644
index 00000000..0b0725c9
--- /dev/null
+++ b/db/migrate/20170808132744_add_info_hash_to_learning_object_attachments.rb
@@ -0,0 +1,5 @@
+class AddInfoHashToLearningObjectAttachments < ActiveRecord::Migration[5.0]
+  def change
+    add_column :learning_object_attachments, :infohash, :string
+  end
+end
-- 
GitLab