# pgtofu ## Docs - [diff](https://pgtofu.com/cli/diff.md): Compare current schema with desired schema - [extract](https://pgtofu.com/cli/extract.md): Extract current database schema to JSON - [generate](https://pgtofu.com/cli/generate.md): Generate migration files from schema differences - [CLI Overview](https://pgtofu.com/cli/overview.md): Complete reference for pgtofu command-line interface - [partition](https://pgtofu.com/cli/partition.md): Generate hash partition SQL statements - [How It Works](https://pgtofu.com/concepts/how-it-works.md): Technical details of pgtofu's schema processing pipeline - [Core Concepts](https://pgtofu.com/concepts/overview.md): Understanding how pgtofu works under the hood - [Contributing](https://pgtofu.com/development/contributing.md): How to contribute to pgtofu - [Table Partitioning](https://pgtofu.com/features/partitioning.md): Declarative management of partitioned tables - [PostgreSQL Features](https://pgtofu.com/features/postgresql.md): Complete PostgreSQL feature support in pgtofu - [TimescaleDB Features](https://pgtofu.com/features/timescaledb.md): Time-series database features with pgtofu - [Installation](https://pgtofu.com/installation.md): Install pgtofu via Docker or from source - [Introduction](https://pgtofu.com/introduction.md): Declarative PostgreSQL schema management for modern applications - [Quickstart](https://pgtofu.com/quickstart.md): Get started with pgtofu in 5 minutes - [Basic Workflow](https://pgtofu.com/workflows/basic-workflow.md): Step-by-step guide to using pgtofu - [CI/CD Integration](https://pgtofu.com/workflows/ci-cd-integration.md): Automating schema management in CI/CD pipelines ## OpenAPI Specs - [openapi](https://pgtofu.com/api-reference/openapi.json) ## Optional - [GitHub](https://github.com/accented-ai/pgtofu) - [Docker Hub](https://hub.docker.com/r/accented/pgtofu)