Inspect a specific schema resource using the --include flag
How can I inspect a specific resource, such as a function, view, or table, using the schema --include flag?
How can I inspect a specific resource, such as a function, view, or table, using the schema --include flag?
With features such as composite schemas, custom rules, schema linting, and more, the atlas.hcl file can get complex.
To validate or debug the file, you can use print statements as you commonly would with other languages.
Developers who use Atlas to run migrations using a golang-migrate directory format, may run into an errors like:
-- migrating version 20250324061649.down.sql
-> DROP TABLE `users`;
Error 1051 (42S02): Unknown table 'public.users'
How to test PostgreSQL Row-Level Security (RLS) policies using Atlas.
How do I populate my databases with a static dataset using Atlas?
A .env file is a simple text file used to store environment variables for applications. It helps developers manage
configuration settings, such as database credentials, API keys, and other sensitive information, without hardcoding them
into the source code. By using a .env file, developers can keep their codebase clean, secure, and easily configurable
across different environments.
For developers who want to use .env files with Atlas, there are two ways users can do so through the standard Atlas
HCL configuration file:
How do I manage PostgreSQL extensions with Atlas?
After upgrading Atlas, you might encounter an error stating "Feature X is no longer supported by this release."
For example:
Error: data.external_schema is no longer supported by this release.
This occurs when you install the community version of Atlas, which lacks some features available only in non-community builds.
How do I fix the ModifySchema is not allowed when migration plan is scoped to one schema error?
How can I install Atlas, and why is go install no longer supported?