import_scripts: add fluxbb prefix to missing query (#8163)

Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
This commit is contained in:
jelle van der Waa 2019-10-08 02:46:00 +02:00 committed by Sam
parent 67a90a7d97
commit 2d4c9bbaac
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class ImportScripts::FluxBB < ImportScripts::Base
def import_users def import_users
puts '', "creating users" puts '', "creating users"
total_count = mysql_query("SELECT count(*) count FROM users;").first['count'] total_count = mysql_query(`SELECT count(*) count FROM #{FLUXBB_PREFIX}users;`).first['count']
batches(BATCH_SIZE) do |offset| batches(BATCH_SIZE) do |offset|
results = mysql_query( results = mysql_query(