summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2016-07-13 19:17:17 -0700
committerStan Hu <stanhu@gmail.com>2016-07-13 19:17:17 -0700
commitd7c591915893c8c572e9135db4ec27dc174823fd (patch)
treebfa34a136c2d30b00ba0bffc9654da7794ed858f /db/migrate
parent7968484dfa363537e6e7822ca1ec100bcd0ec4f8 (diff)
downloadgitlab-ce-d7c591915893c8c572e9135db4ec27dc174823fd.tar.gz
Revert "Optimistic locking for Issue and Merge Requests"revert-lock-for-issuable
This reverts commit c39356998b1850f3dc26fe0b987cb419c1d1afb4.
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20160707104333_add_lock_to_issuables.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/db/migrate/20160707104333_add_lock_to_issuables.rb b/db/migrate/20160707104333_add_lock_to_issuables.rb
deleted file mode 100644
index cb516672800..00000000000
--- a/db/migrate/20160707104333_add_lock_to_issuables.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# See http://doc.gitlab.com/ce/development/migration_style_guide.html
-# for more information on how to write migrations for GitLab.
-
-class AddLockToIssuables < ActiveRecord::Migration
- include Gitlab::Database::MigrationHelpers
- disable_ddl_transaction!
-
- def up
- add_column_with_default :issues, :lock_version, :integer, default: 0
- add_column_with_default :merge_requests, :lock_version, :integer, default: 0
- end
-
- def down
- remove_column :issues, :lock_version
- remove_column :merge_requests, :lock_version
- end
-end