summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2016-06-20 19:20:39 +0200
committerDouwe Maan <douwe@selenight.nl>2016-07-06 18:50:59 -0400
commit2f30d00432e9727581e814062ea6117e1946a981 (patch)
tree06ec465690ac4e0fd6520e254c5064b21794d48a /db
parentdb65954d78899f6d48a682e0c220cbb4e6f59cb8 (diff)
downloadgitlab-ce-2f30d00432e9727581e814062ea6117e1946a981.tar.gz
Add DiffNote model
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20160508215920_add_positions_to_diff_notes.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20160508215920_add_positions_to_diff_notes.rb b/db/migrate/20160508215920_add_positions_to_diff_notes.rb
new file mode 100644
index 00000000000..2952c25004e
--- /dev/null
+++ b/db/migrate/20160508215920_add_positions_to_diff_notes.rb
@@ -0,0 +1,6 @@
+class AddPositionsToDiffNotes < ActiveRecord::Migration
+ def change
+ add_column :notes, :position, :text
+ add_column :notes, :original_position, :text
+ end
+end