mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/11015] Convert database drivers to new spelling in post setup sync.
PHPBB3-11015
This commit is contained in:
parent
f5c745d2c5
commit
83345d986d
1 changed files with 2 additions and 2 deletions
|
@ -444,7 +444,7 @@ class phpbb_database_test_connection_manager
|
||||||
|
|
||||||
switch ($this->config['dbms'])
|
switch ($this->config['dbms'])
|
||||||
{
|
{
|
||||||
case 'oracle':
|
case 'phpbb_db_driver_oracle':
|
||||||
// Get all of the information about the sequences
|
// Get all of the information about the sequences
|
||||||
$sql = "SELECT t.table_name, tc.column_name, d.referenced_name as sequence_name, s.increment_by, s.min_value
|
$sql = "SELECT t.table_name, tc.column_name, d.referenced_name as sequence_name, s.increment_by, s.min_value
|
||||||
FROM USER_TRIGGERS t
|
FROM USER_TRIGGERS t
|
||||||
|
@ -486,7 +486,7 @@ class phpbb_database_test_connection_manager
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'postgres':
|
case 'phpbb_db_driver_postgres':
|
||||||
// Get the sequences attached to the tables
|
// Get the sequences attached to the tables
|
||||||
$sql = 'SELECT column_name, table_name FROM information_schema.columns
|
$sql = 'SELECT column_name, table_name FROM information_schema.columns
|
||||||
WHERE table_name IN (' . implode(', ', $table_names) . ")
|
WHERE table_name IN (' . implode(', ', $table_names) . ")
|
||||||
|
|
Loading…
Add table
Reference in a new issue