mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2025-01-03 14:32:40 +00:00
Manipulate only those sequences in the current PostgreSQL schema
This commit is contained in:
parent
4a2efd9987
commit
e68fcc0afa
1 changed files with 3 additions and 2 deletions
|
@ -25,7 +25,8 @@ class TestDatabase extends \JKingWeb\Arsse\TestCase\Database\Base {
|
|||
table_name as table,
|
||||
column_name as col
|
||||
from information_schema.columns
|
||||
where table_name like 'arsse_%'
|
||||
where table_schema = current_schema()
|
||||
and table_name like 'arsse_%'
|
||||
and column_default like 'nextval(%'
|
||||
";
|
||||
foreach(static::$drv->query($seqList) as $r) {
|
||||
|
|
Loading…
Reference in a new issue