mirror of
https://github.com/discourse/discourse-solved.git
synced 2025-05-03 12:44:55 +00:00
lint
This commit is contained in:
parent
83dc9a2dac
commit
1aa5105eeb
@ -3,7 +3,7 @@
|
||||
class CopySolvedTopicCustomFieldToDiscourseSolvedSolvedTopics < ActiveRecord::Migration[7.2]
|
||||
disable_ddl_transaction!
|
||||
|
||||
BATCH_SIZE = 10000
|
||||
BATCH_SIZE = 10_000
|
||||
|
||||
def up
|
||||
max_id = DB.query_single("SELECT MAX(id) FROM topic_custom_fields").first
|
||||
|
@ -1,6 +1,8 @@
|
||||
# frozen_string_literal: true
|
||||
#
|
||||
class CopyRemainingSolvedTopicCustomFieldToDiscourseSolvedSolvedTopics < ActiveRecord::Migration[7.2]
|
||||
class CopyRemainingSolvedTopicCustomFieldToDiscourseSolvedSolvedTopics < ActiveRecord::Migration[
|
||||
7.2
|
||||
]
|
||||
disable_ddl_transaction!
|
||||
|
||||
BATCH_SIZE = 5000
|
||||
|
Loading…
x
Reference in New Issue
Block a user