introspect_db
Import a live PostgreSQL/MySQL schema into an existing ERD, replacing its current contents while preserving the project. Read-only, metadata-only operation.
Instructions
Imports the schema of a live PostgreSQL/MySQL database into an existing ERD (full replace, project id preserved). Read-only — queries only the information schema/catalog; never reads table data. The database URL is used by this local process only and is never sent to Sqemo servers. Pro plan required; requires login.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | postgres:// or mysql:// connection URL (credentials stay local) | |
| source | Yes | Target ERD — exactly one of a local file ({file}) or a server ERD ({erdId}) | |
| dbSchema | No | Schema to read (postgres default: public; mysql default: database in the URL) |