zernonia / supabase-schema

Secured & Simple Supabase Schema Visualizer

Home Page:https://supabase-schema.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Views shown as Tables

semihpolat opened this issue · comments

commented

Hi, Firstly it is great job! we needed it too much!

The issue is I have tables and views from tables but when I wanna export SQL views shown as tables.

Hi @semihpolat . Glad to hear that you are using this tool! And thank you so much for this issue.

I realized that View is also generated in the OpenAPI schema, thus signaling that it is a Table (which is not).
I will look into this and try to differentiate Tables and Views on the dashboard, so that users can differentiate easily,
and finally export the appropriate tables only.

Thank you! 😄

Fix the View in Export SQL. I had to remove the views from the export because the OpenAPI endpoint doesn't have information regarding how these views were created, unless I have the Database Auth & Endpoint.

So, simply click the Fetch button again to update the table to show the latest udpate.

Thank you!

b5cb8d8