mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 11:44:08 +02:00
[ticket/9687] Adjust queries to be compatible with postgres
PHPBB3-9687
This commit is contained in:
@@ -225,9 +225,9 @@ class ban_manager_test extends \phpbb_session_test_case
|
||||
'email',
|
||||
[
|
||||
[
|
||||
'ban_id' => '9',
|
||||
'ban_id' => '5',
|
||||
'ban_userid' => 0,
|
||||
'ban_item' => '*@foo.bar',
|
||||
'ban_item' => 'bar@example.org',
|
||||
'ban_start' => '1111',
|
||||
'ban_end' => '0',
|
||||
'ban_reason' => 'HAHAHA',
|
||||
@@ -235,9 +235,9 @@ class ban_manager_test extends \phpbb_session_test_case
|
||||
'ban_mode' => 'email',
|
||||
],
|
||||
[
|
||||
'ban_id' => '5',
|
||||
'ban_id' => '9',
|
||||
'ban_userid' => 0,
|
||||
'ban_item' => 'bar@example.org',
|
||||
'ban_item' => '*@foo.bar',
|
||||
'ban_start' => '1111',
|
||||
'ban_end' => '0',
|
||||
'ban_reason' => 'HAHAHA',
|
||||
|
@@ -38,6 +38,7 @@
|
||||
</table>
|
||||
<table name="phpbb_bans">
|
||||
<column>ban_id</column>
|
||||
<column>ban_userid</column>
|
||||
<column>ban_mode</column>
|
||||
<column>ban_item</column>
|
||||
<column>ban_start</column>
|
||||
@@ -46,6 +47,7 @@
|
||||
<column>ban_reason_display</column>
|
||||
<row>
|
||||
<value>1</value>
|
||||
<value>2</value>
|
||||
<value>user</value>
|
||||
<value>2</value>
|
||||
<value>0</value>
|
||||
@@ -55,6 +57,7 @@
|
||||
</row>
|
||||
<row>
|
||||
<value>2</value>
|
||||
<value>3</value>
|
||||
<value>user</value>
|
||||
<value>3</value>
|
||||
<value>0</value>
|
||||
@@ -64,6 +67,7 @@
|
||||
</row>
|
||||
<row>
|
||||
<value>3</value>
|
||||
<value>0</value>
|
||||
<value>user</value>
|
||||
<value>0</value>
|
||||
<value>0</value>
|
||||
|
Reference in New Issue
Block a user