summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2018-07-27 13:12:35 +0000
committerSean McGivern <sean@mcgivern.me.uk>2018-07-27 13:12:35 +0000
commited81ee9ba2b5a0b68996ccb238bfa4c69a6df062 (patch)
tree831e186cd5ed4072a0883c4eac563cbcd9c70f23 /db
parent636ea40e182fca92e89facbcb52445fcefef9506 (diff)
downloadgitlab-ce-ed81ee9ba2b5a0b68996ccb238bfa4c69a6df062.tar.gz
Revert "Merge branch '41416-making-instance-wide-data-tools-more-accessible' into 'master'"
This reverts merge request !20679
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20180718005113_add_instance_statistics_visibility_to_application_setting.rb18
-rw-r--r--db/schema.rb1
2 files changed, 0 insertions, 19 deletions
diff --git a/db/migrate/20180718005113_add_instance_statistics_visibility_to_application_setting.rb b/db/migrate/20180718005113_add_instance_statistics_visibility_to_application_setting.rb
deleted file mode 100644
index 9d5f4c15eb9..00000000000
--- a/db/migrate/20180718005113_add_instance_statistics_visibility_to_application_setting.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-class AddInstanceStatisticsVisibilityToApplicationSetting < ActiveRecord::Migration
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
-
- disable_ddl_transaction!
-
- def up
- add_column_with_default(:application_settings, :instance_statistics_visibility_private,
- :boolean,
- default: false,
- allow_null: false)
- end
-
- def down
- remove_column(:application_settings, :instance_statistics_visibility_private)
- end
-end
diff --git a/db/schema.rb b/db/schema.rb
index fbacff19591..8ae0197d1b4 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -168,7 +168,6 @@ ActiveRecord::Schema.define(version: 20180722103201) do
t.boolean "enforce_terms", default: false
t.boolean "mirror_available", default: true, null: false
t.boolean "hide_third_party_offers", default: false, null: false
- t.boolean "instance_statistics_visibility_private", default: false, null: false
end
create_table "audit_events", force: :cascade do |t|