Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2017-04-12 18:13:24 +0300
committerRémy Coutable <remy@rymai.me>2017-04-14 16:20:55 +0300
commit380e40fee30d836e6dffb1e956df39033d43a671 (patch)
tree8258a84cb620aa707539730815cccc62ff8d0335 /db/post_migrate
parent00e9568e140165edcc091bd6729393cdeaac642b (diff)
Remove unused user activities code
Diffstat (limited to 'db/post_migrate')
-rw-r--r--db/post_migrate/20161128170531_drop_user_activities_table.rb16
1 files changed, 1 insertions, 15 deletions
diff --git a/db/post_migrate/20161128170531_drop_user_activities_table.rb b/db/post_migrate/20161128170531_drop_user_activities_table.rb
index 3ece0722821..00bc0c73015 100644
--- a/db/post_migrate/20161128170531_drop_user_activities_table.rb
+++ b/db/post_migrate/20161128170531_drop_user_activities_table.rb
@@ -1,23 +1,9 @@
-# See http://doc.gitlab.com/ce/development/migration_style_guide.html
-# for more information on how to write migrations for GitLab.
-
class DropUserActivitiesTable < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
- # When using the methods "add_concurrent_index" or "add_column_with_default"
- # you must disable the use of transactions as these methods can not run in an
- # existing transaction. When using "add_concurrent_index" make sure that this
- # method is the _only_ method called in the migration, any other changes
- # should go in a separate migration. This ensures that upon failure _only_ the
- # index creation fails and can be retried or reverted easily.
- #
- # To disable transactions uncomment the following line and remove these
- # comments:
- # disable_ddl_transaction!
-
+ # This migration is a no-op. It just exists to match EE.
def change
- drop_table :user_activities
end
end