Skip to content

Commit 1044d5f

Browse files
authored
Merge pull request #283 from kitloong/feature/ut
Use fix restrict-key
2 parents 37f29a9 + 4e20eee commit 1044d5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Feature/PgSQL/PgSQLTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ protected function tearDown(): void
5151
protected function dumpSchemaAs(string $destination): void
5252
{
5353
$command = sprintf(
54-
'PGPASSWORD="%s" pg_dump -h %s -p %s -U %s %s -f %s --schema-only',
54+
'PGPASSWORD="%s" pg_dump -h %s -p %s -U %s %s -f %s --schema-only --restrict-key=public',
5555
config('database.connections.pgsql.password'),
5656
config('database.connections.pgsql.host'),
5757
config('database.connections.pgsql.port'),

0 commit comments

Comments
 (0)