import_scripts: add fluxbb prefix to missing query (#8163)
Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
This commit is contained in:
parent
67a90a7d97
commit
2d4c9bbaac
|
@ -63,7 +63,7 @@ class ImportScripts::FluxBB < ImportScripts::Base
|
|||
def import_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|
|
||||
results = mysql_query(
|
||||
|
|
Loading…
Reference in New Issue