From 2f66a7bb81b88df8aaa31b564ac0f40c55e9332d Mon Sep 17 00:00:00 2001 From: Nick Thomas Date: Mon, 1 Jul 2019 14:31:01 +0100 Subject: Bring the InitSchema migration up to standard --- db/migrate/20171230123729_init_schema.rb | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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" -- cgit v1.2.1