adonisjs / lucid

AdonisJS SQL ORM. Supports PostgreSQL, MySQL, MSSQL, Redshift, SQLite and many more
https://lucid.adonisjs.com/
MIT License
1.08k stars 195 forks source link

Fixed PostgreSQL schema handling in getAllTables and getAllViews methods #1065

Open nadlgit opened 1 week ago

nadlgit commented 1 week ago

🔗 Linked issue

1064

❓ Type of change

📚 Description

Resolves #1064 Changed getAllTables and getAllViews in PgDialect and changed code and tests where it is used. Tests was successful (same output before and after modifications).

📝 Checklist

thetutlage commented 1 week ago

Can we please first have some failing tests for the same. Or maybe you can share a project that I can use to reproduce the issue?

nadlgit commented 1 week ago

Can we please first have some failing tests for the same. Or maybe you can share a project that I can use to reproduce the issue?

I've made this repository to show the issue: https://github.com/nadlgit/lucid-issue-example