Customize Inspection Output with Go Templates
Format atlas schema inspect output with Go templates: select fields from the inspected schema, use the built-in template functions, and generate files.
Format atlas schema inspect output with Go templates: select fields from the inspected schema, use the built-in template functions, and generate files.
Generate files from your schema with the Atlas template exporter: attach annotations to tables and columns, then render Hasura, GraphQL, or OpenAPI output.
Learn how to use Atlas schema inspect as a free alternative to Flyway's snapshot command for capturing database schema states.
Learn how to inspect existing database schemas and generate their HCL or SQL definitions using the `atlas schema inspect` command with various flags and options.
Learn how to use Atlas schema diff and inspect as a modern alternative to Liquibase's diff and diff-changelog commands for comparing database schemas.
Export your database schema to HCL or SQL code, configure a dev database, and verify Atlas produces a zero-diff against your live database.