summaryrefslogtreecommitdiff
path: root/db/migrate/20170521184006_add_change_position_to_notes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20170521184006_add_change_position_to_notes.rb')
-rw-r--r--db/migrate/20170521184006_add_change_position_to_notes.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/db/migrate/20170521184006_add_change_position_to_notes.rb b/db/migrate/20170521184006_add_change_position_to_notes.rb
new file mode 100644
index 00000000000..219ed1ade4c
--- /dev/null
+++ b/db/migrate/20170521184006_add_change_position_to_notes.rb
@@ -0,0 +1,13 @@
+# See http://doc.gitlab.com/ce/development/migration_style_guide.html
+# for more information on how to write migrations for GitLab.
+
+class AddChangePositionToNotes < ActiveRecord::Migration
+ include Gitlab::Database::MigrationHelpers
+
+ # Set this constant to true if this migration requires downtime.
+ DOWNTIME = false
+
+ def change
+ add_column :notes, :change_position, :text
+ end
+end