{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "masumedb-masume--compare-two-database-schemas",
 "repo": "masumedb/masume",
 "repo_url": "https://github.com/masumedb/masume",
 "repo_slug": "masumedb-masume",
 "title": "Compare the schemas of two databases",
 "page_title": "How to compare the schemas of two databases with Masume",
 "summary": "Find differences in tables, columns, indexes, and constraints between two connections.",
 "who": "A developer checking that a staging database matches production before a release.",
 "problem": "Schema drift between environments causes failed deploys that are hard to trace.",
 "outcome": "You see the schema differences between the two connections and decide what to change.",
 "steps": [
  "Install Masume and confirm it runs with `masume --version`",
  "Add a profile for each database in the config file or use a URL target",
  "Run `masume diff SOURCE TARGET` with the two connections",
  "Review the reported differences in tables, columns, indexes, and constraints"
 ],
 "agent_prompt": "Run `masume diff <source> <target>` in the masume repo and summarize the differences found. Expected output: a list of schema differences. Verify one reported difference by inspecting that table in both databases.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "Schema compare covers tables, columns, indexes, and constraints as described in the README, not every object type.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "go",
 "requirements": [
  "A terminal on macOS, Linux, or Windows",
  "A database you can reach, or a local SQLite file",
  "One install method: Homebrew, npm, Go 1.27 or later, or a release package"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/masumedb-masume/compare-two-database-schemas/",
 "md": "https://dedupedai.com/use-cases/masumedb-masume/compare-two-database-schemas/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/masumedb-masume--compare-two-database-schemas.json",
 "api_version": "v1"
}
