Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump rubocop-rails from 2.20.2 to 2.21.1 #603

Merged
merged 1 commit into from
Sep 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ GEM
rubocop-performance (1.19.0)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-rails (2.20.2)
rubocop-rails (2.21.1)
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.33.0, < 2.0)
Expand Down
6 changes: 4 additions & 2 deletions db/migrate/20200826115419_add_links_to_albums.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

class AddLinksToAlbums < ActiveRecord::Migration[6.0]
def change
add_column :albums, :links_checked_at, :datetime
add_column :albums, :links, :json, :default => {}, :null => false
change_table(:albums, :bulk => true) do |t|
t.column :links_checked_at, :datetime
t.column :links, :json, :default => {}, :null => false
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ def up
WHERE odesli_checked_at IS NOT NULL
SQL

remove_column :albums, :musicbrainz_checked_at
remove_column :albums, :odesli_checked_at
change_table(:albums, :bulk => true) do |t|
t.remove :musicbrainz_checked_at
t.remove :odesli_checked_at
end
end

def down
Expand Down
Loading