summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorblackst0ne <blackst0ne.ru@gmail.com>2017-05-03 22:11:19 +1100
committerblackst0ne <blackst0ne.ru@gmail.com>2017-05-04 12:58:41 +1100
commit62be3355b1cc74e085a7a046e7aca05f59a1f97a (patch)
treed2d01ebfac3f3af42046f9fd3348c966ea90a6d9 /db
parentc2b869a119f7400d748a8a97e4abc3137bc7c51d (diff)
downloadgitlab-ce-62be3355b1cc74e085a7a046e7aca05f59a1f97a.tar.gz
Add alias_attributes for notes
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20170503022512_add_last_edited_at_and_last_edited_by_id_to_notes.rb14
-rw-r--r--db/schema.rb2
2 files changed, 0 insertions, 16 deletions
diff --git a/db/migrate/20170503022512_add_last_edited_at_and_last_edited_by_id_to_notes.rb b/db/migrate/20170503022512_add_last_edited_at_and_last_edited_by_id_to_notes.rb
deleted file mode 100644
index a44a1feab16..00000000000
--- a/db/migrate/20170503022512_add_last_edited_at_and_last_edited_by_id_to_notes.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# See http://doc.gitlab.com/ce/development/migration_style_guide.html
-# for more information on how to write migrations for GitLab.
-
-class AddLastEditedAtAndLastEditedByIdToNotes < ActiveRecord::Migration
- include Gitlab::Database::MigrationHelpers
-
- # Set this constant to true if this migration requires downtime.
- DOWNTIME = false
-
- def change
- add_column :notes, :last_edited_at, :timestamp
- add_column :notes, :last_edited_by_id, :integer
- end
-end
diff --git a/db/schema.rb b/db/schema.rb
index b173b467abf..20127cbed32 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -778,8 +778,6 @@ ActiveRecord::Schema.define(version: 20170503022548) do
t.string "discussion_id"
t.text "note_html"
t.integer "cached_markdown_version"
- t.datetime "last_edited_at"
- t.integer "last_edited_by_id"
end
add_index "notes", ["author_id"], name: "index_notes_on_author_id", using: :btree