diff options
author | Chris Baumbauer <cab@cabnetworks.net> | 2019-04-17 18:36:06 +0000 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2019-04-17 18:36:06 +0000 |
commit | 81d2c7b6fceae79b7c4be49b161160ddc2883aaa (patch) | |
tree | 4e7529ba3ba6a907762e8a1cfdc25a178dcb3802 /db | |
parent | dd7cb7bc60f828372dbe2cc8a30a70f97db12600 (diff) | |
download | gitlab-ce-81d2c7b6fceae79b7c4be49b161160ddc2883aaa.tar.gz |
Bump version of knative from 0.3 -> 0.5
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20190408163745_prometheus_knative05_fix.rb | 20 | ||||
-rw-r--r-- | db/schema.rb | 2 |
2 files changed, 21 insertions, 1 deletions
diff --git a/db/migrate/20190408163745_prometheus_knative05_fix.rb b/db/migrate/20190408163745_prometheus_knative05_fix.rb new file mode 100644 index 00000000000..c11f6f0e29b --- /dev/null +++ b/db/migrate/20190408163745_prometheus_knative05_fix.rb @@ -0,0 +1,20 @@ +# frozen_string_literal: true + +# See http://doc.gitlab.com/ce/development/migration_style_guide.html +# for more information on how to write migrations for GitLab. + +class PrometheusKnative05Fix < ActiveRecord::Migration[5.0] + include Gitlab::Database::MigrationHelpers + + require Rails.root.join('db/importers/common_metrics_importer.rb') + + DOWNTIME = false + + def up + Importers::CommonMetricsImporter.new.execute + end + + def down + # no-op + end +end diff --git a/db/schema.rb b/db/schema.rb index d1b3672725d..c0399529deb 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20190326164045) do +ActiveRecord::Schema.define(version: 20190408163745) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" |