summaryrefslogtreecommitdiff
path: root/db/post_migrate/20170209140523_validate_foreign_keys_on_oauth_openid_requests.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/post_migrate/20170209140523_validate_foreign_keys_on_oauth_openid_requests.rb')
-rw-r--r--db/post_migrate/20170209140523_validate_foreign_keys_on_oauth_openid_requests.rb20
1 files changed, 0 insertions, 20 deletions
diff --git a/db/post_migrate/20170209140523_validate_foreign_keys_on_oauth_openid_requests.rb b/db/post_migrate/20170209140523_validate_foreign_keys_on_oauth_openid_requests.rb
deleted file mode 100644
index 81ac4cf1373..00000000000
--- a/db/post_migrate/20170209140523_validate_foreign_keys_on_oauth_openid_requests.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-class ValidateForeignKeysOnOauthOpenidRequests < ActiveRecord::Migration[4.2]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
-
- disable_ddl_transaction!
-
- def up
- if Gitlab::Database.postgresql?
- execute %q{
- ALTER TABLE "oauth_openid_requests"
- VALIDATE CONSTRAINT "fk_oauth_openid_requests_oauth_access_grants_access_grant_id";
- }
- end
- end
-
- def down
- # noop
- end
-end