Skip to content

Commit

Permalink
Add migration class version
Browse files Browse the repository at this point in the history
  • Loading branch information
James Turley committed Nov 7, 2019
1 parent 65b0c56 commit d824c1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ platforms :rbx do
gem 'rubysl', '~> 2.0'
end

gem 'prometheus-client', '~> 0.10.0.alpha'
gem 'prometheus-client', '~> 1.0'
gem 'prometheus_gcstat', git: '[email protected]:gocardless/prometheus_gcstat_ruby'

gemspec
2 changes: 1 addition & 1 deletion lib/generators/que/templates/add_que.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

class AddQue < ActiveRecord::Migration
class AddQue < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>]
def self.up
# The current version as of this migration's creation.
Que.migrate! version: 4
Expand Down

0 comments on commit d824c1d

Please sign in to comment.