Skip to main content
idapt
HomeCodeAI ModelsPricing
Sign inStart free
  • Home
  • Pricing
  • AI Models
  • Image models
  • Voice models
  • Video models
  • Rankings
  • New models
  • Model status
  • Multi-Model Chat
  • Voice Mode
  • Voice HUD
  • Web Search
  • Image Generation
  • Video Generation
  • Audio Generation
  • Transcription
  • Drive
  • Credentials
  • Sharing
  • Workspaces
  • Tasks
  • Memory
  • Agents
  • Subagents
  • Automations
  • Skills
  • idapt Code
  • Code Execution
  • Computers
  • Computer Use
  • Computer Assist · Soon
  • Containers
  • Cloud Computers
  • Local AI
  • AI Gateway
  • API & SDK
  • CLI
  • MCP
  • Tunnels
  • All features →
  • LLM cost calculator
  • Token counter
  • Context window checker
  • Can I run it
  • Model picker quiz
  • Savings finder
  • Video cost estimator
  • Text to speech cost
  • Transcription cost
  • API endpoint tester
  • All free tools →
  • Blog
  • Use cases
  • Comparisons
  • Best of
  • Skills
  • Learn
  • Changelog
  • Help center
  • FAQ
  • Privacy
  • Compare all models
  • Support
  • idapt Code
  • Developers
  • Quickstarts
  • API reference
  • API pricing
  • CLI
  • MCP
  • Downloads
  • Desktop
  • Badges and embeds
© idapt[email protected]TermsPrivacy PolicyLegal noticeReport content
X (Twitter)
All skills
Data

Reverse-engineer a schema

An ERD and a data dictionary for a database nobody documented.

Fill it in

The DDL.

Relationships the schema never declared.

What each column actually holds.

Your prompt

Reverse-engineer this schema.

Find the relationships the schema never declared. Legacy databases are full of
foreign keys that exist by convention: a `cust_no` column that joins to
`customer.id` with no constraint. Those are the real structure, and a diagram
with only the declared keys shows a dozen unconnected islands.

Write what each column MEANS, not what it stores. "status varchar(2)" is the
schema; "status: AC active, SU suspended, CL closed, and XX which appears in 200
rows from before 2019" is the dictionary.
Name the tables that look abandoned and say what suggests it. Every legacy
database has four, and knowing which is worth more than the diagram.
Use Reverse-engineer a schemaOpens with everything above already filled in.

Why this works

Legacy databases are full of foreign keys that exist by convention and not by constraint, so a diagram of only the declared ones shows a dozen unconnected islands. This infers them, and writes what each column means rather than what it stores.

More data skills

  • Extract to a table
  • Analyse a spreadsheet
  • Chart this data

Use it now in a chat in 1 click

Use Reverse-engineer a schema
  • Clean a dataset
  • Write a data dictionary
  • Read out an A/B test