summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2019-07-01 14:31:01 +0100
committerNick Thomas <nick@gitlab.com>2019-07-02 09:35:03 +0100
commit2f66a7bb81b88df8aaa31b564ac0f40c55e9332d (patch)
treec9ce144a1e92014e3b9633101fb3c92734330a43
parentcfe31f992a12c95570891b8cca8747589c6c6228 (diff)
downloadgitlab-ce-2f66a7bb81b88df8aaa31b564ac0f40c55e9332d.tar.gz
Bring the InitSchema migration up to standard
-rw-r--r--db/migrate/20171230123729_init_schema.rb12
1 files changed, 11 insertions, 1 deletions
diff --git a/db/migrate/20171230123729_init_schema.rb b/db/migrate/20171230123729_init_schema.rb
index 0b7ccaf62bb..ae7541f2475 100644
--- a/db/migrate/20171230123729_init_schema.rb
+++ b/db/migrate/20171230123729_init_schema.rb
@@ -1,4 +1,14 @@
-class InitSchema < ActiveRecord::Migration
+# frozen_string_literal: true
+
+# rubocop:disable Layout/SpaceInsideHashLiteralBraces
+# rubocop:disable Layout/SpaceAroundOperators
+# rubocop:disable Metrics/AbcSize
+# rubocop:disable Migration/AddConcurrentForeignKey
+# rubocop:disable Style/WordArray
+
+class InitSchema < ActiveRecord::Migration[4.2]
+ DOWNTIME = false
+
def up
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"