Using Postgres Extensions in GORM
Postgres extensions are add-on modules that extend the functionality of the database by providing new data types, operators, functions, procedural languages, and more.
This guide explains how to define a schema field that uses a data type provided by the PostGIS extension, and configure the schema migration to manage both Postgres extension installations and the GORM models as a single migration unit using Atlas.
Atlas support for Extensions is available exclusively to Pro users. To use this feature, run:
atlas login
Getting started with Atlas and GORM
Before we continue to extensions, ensure you have installed the Atlas GORM Provider on your GORM project.
To set up, follow along the getting started guide for GORM and Atlas.