Skip to content

Commit

Permalink
Rubocop 対応もれ修正
Browse files Browse the repository at this point in the history
  • Loading branch information
goruchanchan committed Jul 8, 2024
1 parent fb3a65a commit 008c4ea
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions db/data/20240704140358_add_articles_with_secure_token.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# frozen_string_literal: true

class AddArticlesWithSecureToken < ActiveRecord::Migration[6.1]
disable_ddl_transaction!

def up
Article.where(wip: true).find_each do |article|
article.update!(token: SecureRandom.urlsafe_base64)
Expand Down

0 comments on commit 008c4ea

Please sign in to comment.