修改迁移的数据

This commit is contained in:
sylor_huang@126.com 2020-03-13 16:54:04 +08:00
parent aa4fec052c
commit c139ae0d2f
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ class SyncUserForgeTask
def call
Rails.logger.info("##########_______sync_start________###########")
all_users = User.where("login is not null")
# .where(id: [3136,11891,3051])
# .where(id: [23021, 9343, 9137, 9410, 9303, 9299, 9333,])
# 这里再把所有用户循环
all_users.find_each do |u|
user_params = u.as_json