dev_jupyter
daiao 5 years ago
parent 42174b1df6
commit ee1f6bfe2c

@ -0,0 +1,5 @@
class AddWecharSupportForShixuns < ActiveRecord::Migration[5.2]
def change
add_column :shixuns, :is_wechat_support, :boolean, :default => false
end
end

@ -117,7 +117,7 @@ namespace :subjects do
task user_info_statistic: :environment do
puts("---------------------user_info_statistic_begin")
Rails.logger.info("---------------------user_info_statistic_begin")
subjects = Subject.where(status: 2)
subjects = Subject.where(status: 2, id: 211)
str = ""
buffer_size = 0
column_value = "user_id, subject_id, username, passed_myshixun_count, passed_games_count, " +

Loading…
Cancel
Save