diff --git a/db/data/20240704140358_add_articles_with_secure_token.rb b/db/data/20240704140358_add_articles_with_secure_token.rb index 77536bdbc08..57898dcca1b 100644 --- a/db/data/20240704140358_add_articles_with_secure_token.rb +++ b/db/data/20240704140358_add_articles_with_secure_token.rb @@ -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)