[v2.0.0-alpha.6] SQL Server dbo schema not loaded
See original GitHub issueHi,
I’m connecting Hasura v2.0.0-alpha.6 to an on-premises SQL Server 2016 (version 13.0.5865.1) using authentication mode (user/password).
The connection string is: Driver={ODBC Driver 17 for SQL Server};Server=myServerIPAddress;Database=UtiCaro;UID=hasurauser;PWD=thepassword;
The SQL Server user “hasurauser” has default schema: dbo
Under the dbo
schema I have created a table named Cargos
:
What happens is, when the connection to SQL Server is added in the Hasura Console, the dbo
schema and tables under it are not loaded. A “public” schema is loaded instead, and it does not contain my table:
I’m confused because in the Hasura 2.0 launch demo, Tanmai Gopal adds a connection to a SQL Server instance, and the dbo
schema is loaded inmediately, with all the tables under the schema available to be tracked:
Could someone help me identify what might be missing?
Thank you.
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (5 by maintainers)
Fixed in https://github.com/hasura/graphql-engine/commit/a5ce316a96c071c629d30d12ae16029a452cb6e5
On second thought, I think we should just simplify the above query to this: