diff options
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20170503022512_add_last_edited_at_and_last_edited_by_id_to_notes.rb | 14 | ||||
-rw-r--r-- | db/schema.rb | 2 |
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 |