summaryrefslogtreecommitdiff
path: root/lib/github/import/legacy_diff_note.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/github/import/legacy_diff_note.rb')
-rw-r--r--lib/github/import/legacy_diff_note.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/github/import/legacy_diff_note.rb b/lib/github/import/legacy_diff_note.rb
new file mode 100644
index 00000000000..18adff560b6
--- /dev/null
+++ b/lib/github/import/legacy_diff_note.rb
@@ -0,0 +1,12 @@
+module Github
+ class Import
+ class LegacyDiffNote < ::LegacyDiffNote
+ self.table_name = 'notes'
+ self.store_full_sti_class = false
+
+ self.reset_callbacks :commit
+ self.reset_callbacks :update
+ self.reset_callbacks :validate
+ end
+ end
+end