diff options
author | George Tsiolis <tsiolis.g@gmail.com> | 2018-12-21 13:17:13 +0000 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2018-12-21 13:17:13 +0000 |
commit | ac5fe450ff2af92a7b9d26b6ff51e3bba03afb95 (patch) | |
tree | 4c7dc3b773c31202e7945ef211bb41c84a24f551 /db | |
parent | 82772caf727e3ea59513ffff6693bab1ee37b53f (diff) | |
download | gitlab-ce-ac5fe450ff2af92a7b9d26b6ff51e3bba03afb95.tar.gz |
Rename `ClusterPlatformConfigureWorker`
Diffstat (limited to 'db')
-rw-r--r-- | db/post_migrate/20181219145520_migrate_cluster_configure_worker_sidekiq_queue.rb | 15 | ||||
-rw-r--r-- | db/schema.rb | 2 |
2 files changed, 16 insertions, 1 deletions
diff --git a/db/post_migrate/20181219145520_migrate_cluster_configure_worker_sidekiq_queue.rb b/db/post_migrate/20181219145520_migrate_cluster_configure_worker_sidekiq_queue.rb new file mode 100644 index 00000000000..c37f8c039c0 --- /dev/null +++ b/db/post_migrate/20181219145520_migrate_cluster_configure_worker_sidekiq_queue.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +class MigrateClusterConfigureWorkerSidekiqQueue < ActiveRecord::Migration[5.0] + include Gitlab::Database::MigrationHelpers + + DOWNTIME = false + + def up + sidekiq_queue_migrate 'gcp_cluster:cluster_platform_configure', to: 'gcp_cluster:cluster_configure' + end + + def down + sidekiq_queue_migrate 'gcp_cluster:cluster_configure', to: 'gcp_cluster:cluster_platform_configure' + end +end diff --git a/db/schema.rb b/db/schema.rb index 7aa1e8e055b..0af185409a9 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: 20181218192239) do +ActiveRecord::Schema.define(version: 20181219145520) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" |