Skip to content

Commit 23291f6

Browse files
committed
fix: fix postgres multi schema view test
1 parent 1b80112 commit 23291f6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

schema-engine/sql-introspection-tests/tests/views/postgresql.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -907,11 +907,11 @@ async fn schemas_are_introspected(api: &mut TestApi) -> TestResult {
907907
datasource db {
908908
provider = "postgresql"
909909
url = "env(TEST_DATABASE_URL)"
910-
schemas = ["public", "private"]
910+
schemas = ["private", "public"]
911911
}
912912
913913
/// The underlying view does not contain a valid unique identifier and can therefore currently not be handled by Prisma Client.
914-
view A {
914+
view public_A {
915915
id Int?
916916
917917
@@map("A")
@@ -920,7 +920,7 @@ async fn schemas_are_introspected(api: &mut TestApi) -> TestResult {
920920
}
921921
922922
/// The underlying view does not contain a valid unique identifier and can therefore currently not be handled by Prisma Client.
923-
view A {
923+
view private_A {
924924
id Int?
925925
926926
@@map("A")

0 commit comments

Comments
 (0)