Skip to main content

11 docs tagged with "gorm"

View all tags

Automatic 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.

Go Program Mode

This document describes how to set up the provider to load your GORM schema into Atlas in Go Program Mode.

GORM Guides

GORM, a popular ORM in the Go community, provides basic schema migration capabilities using its AutoMigrate feature,

Standalone Mode

This document describes how to set up the provider to load your GORM schema into Atlas in Standalone Mode.

Using Composite Types in GORM

In PostgreSQL, a composite type is structured like a row or record, consisting of field names and their corresponding

Using Database Triggers in GORM

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.

Using Domain Types in GORM

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.

Using Postgres Enum Types in GORM

Learn how to include PostgreSQL enum types in your GORM schema migrations using Atlas, and manage both custom enums and models in one workflow.

Visualizing GORM Schemas

Visualizing a database schema using an Entity-Relationship Diagram (ERD) tool is helpful in providing a clear and intuitive