Automatic Schema Migration Planning for GORM
Learn how to manage and automate database schema migrations in Go projects that use GORM, with Atlas. This guide shows how to generate, version, and apply migration files for your GORM models.
Learn how to manage and automate database schema migrations in Go projects that use GORM, with Atlas. This guide shows how to generate, version, and apply migration files for your GORM models.
Learn how to load your GORM schema into Atlas using Go Program Mode. This guide is ideal for projects with models across multiple packages or without standard GORM annotations, enabling advanced control over schema introspection and migration planning.
Use Atlas Standalone Mode to automatically load GORM models and manage schema migrations. This guide is ideal for typical GORM setups where models are in a single package with standard annotations.
Learn how to integrate Atlas with GORM for advanced schema management and CI/CD workflows. Go beyond AutoMigrate with support for declarative and versioned migrations, composite types, enums, triggers, RLS policies, and visual schema exploration.
Learn how to manage database schema migrations that include PostgreSQL composite types in your GORM projects using Atlas. This guide explains how to define and use composite types in your schema, and manage them together with your GORM models as part of your migration workflow.
Learn how to manage database schema migrations that include PostgreSQL triggers in your GORM projects using Atlas. This guide shows how to define triggers, combine them with your GORM models, and manage them together as part of your schema migration workflow.
Learn how to manage database schema migrations that include PostgreSQL domain types in your GORM projects using Atlas. This guide explains how to define and use domain types in your schema, and manage them together with your GORM models as part of your migration workflow.
Learn how to include PostgreSQL enum types in your GORM schema migrations using Atlas, and manage both custom enums and models in one workflow.
Learn how to manage database schema migrations that include Postgres extensions in your GORM projects using Atlas.
Learn how to define and manage PostgreSQL Row-Level Security (RLS) policies alongside GORM models using Atlas. This guide walks through combining GORM types and custom SQL policies into a single migration plan using composite schemas.
Learn how to visualize your GORM schema using Atlas to generate an interactive ERD (Entity-Relationship Diagram). This guide walks through setup, configuration, and generating a shareable schema diagram directly from your Go models.