tenants
table and any other tables that you have created in this schema.
option
or alt
key while scrolling to zoom in and out.
Clicking on a table will also highlight this table and all the tables that it references via foreign keys.
This can help you understand the relationships between different tables in your schema.
Tables that have a foreign key to a table in another schema will be shown with a dotted line connecting them to the referenced table.
Referenced tables in another schema will only show the referenced column, not every column in the table,
and they will have the schema name on the top of the box.
In the screenshot below, you can see that the comments
table has
a foreign key to the todos
table in the same schema, and to the tenant_users
table in the users
schema.
CREATE TABLE
, ALTER TABLE
, and DROP TABLE
.
The visualizer will automatically update to reflect these changes, so you can use it to see the impact of your changes in real time.
Note that the visualizer caches the schema for a short period of time, so it may take a few seconds for changes to appear.
You will see a message at the top of the visualizer when the schema is being refreshed from the database.
Enjoy iterating on your schema with the visualizer!