WithSchemaPlugin
does not work with references()
#134
Labels
bug
Something isn't working
built-in plugin
Related to a built-in plugin
postgres
Related to PostgreSQL
When I execute the following:
It compiles this sql:
create table "schema"."Accounts" ("userId" integer references "Users" ("id"))
;Which correctly produces the following error:
relation "Users" does not exist
Is it possible to add the schema like
"schema"."Users" ("id");
?Don't know if this happens with
db.schema.withSchema('schema').createTable(...)
as well.The text was updated successfully, but these errors were encountered: