mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-19 23:20:22 +01:00
[ticket/14923] Make sure start for queries is always set in migrations
PHPBB3-14923
This commit is contained in:
parent
2d742beb92
commit
9e6207add3
@ -52,6 +52,7 @@ class notification_options_reconvert extends \phpbb\db\migration\migration
|
||||
{
|
||||
$limit = 250;
|
||||
$converted_users = 0;
|
||||
$start = $start ?: 0;
|
||||
|
||||
$sql = 'SELECT user_id, user_notify_type, user_notify_pm
|
||||
FROM ' . $this->table_prefix . 'users
|
||||
|
@ -191,6 +191,7 @@ abstract class profilefield_base_migration extends container_aware_migration
|
||||
$insert_buffer = new \phpbb\db\sql_insert_buffer($this->db, $this->table_prefix . 'profile_fields_data');
|
||||
$limit = 250;
|
||||
$converted_users = 0;
|
||||
$start = $start ?: 0;
|
||||
|
||||
$sql = 'SELECT user_id, ' . $this->user_column_name . '
|
||||
FROM ' . $this->table_prefix . 'users
|
||||
|
Loading…
x
Reference in New Issue
Block a user