Giter Site home page Giter Site logo

Comments (4)

a8m avatar a8m commented on August 26, 2024

Hey @mpyw, what URL did you use? See: https://atlasgo.io/concepts/url#scope

Also, please upgrade to latest Atlas and check this.

from atlas.

a8m avatar a8m commented on August 26, 2024

From docs:

When the database URL is set to a specific schema (e.g., postgres://postgres:pass@host:port/db?search_path=public&sslmode=disable), the scope of the work done by Atlas (inspection, diffing, planning, applying, etc.) is limited to one schema. As a result, DDL statements printed during diffing or planning will be formatted without schema qualifiers and can be executed on any schema. e.g., table instead of schema.table

However, if the database URL does not specify a schema (i.e., without the search_path), Atlas operates on the selected schemas (defaulting to all), and the generated DDL statements include schema qualifiers. e.g., schema.table instead of table.

Closing, but feel free to reopen if you still need help with this.

from atlas.

mpyw avatar mpyw commented on August 26, 2024

@a8m The database URL is postgresql://<USER>:<PW>@localhost:5432/<DBNAME>?sslmode=disable. And the most of other statements (execpt RENAME) qualify with the schema prefix. I believe this is the bug.

from atlas.

mpyw avatar mpyw commented on August 26, 2024

I'll reopen as a new issue.

from atlas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.