-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't push migrations to Atlas Cloud #2596
Comments
@KostyaZgara I saw my co-worker's response here. #2578 (comment) Please use a bare docker image for PG (without Postgis installed on it). |
|
Okay, we managed to figure this out: Extensions in PostgreSQL are database objects, they cannot be managed in schema level. This means your migrations should work in database scope (without In your example, if you remove the Please note, that by changing the scope (schema bound to database bound) your migrations will have schema qualifiers. |
Yeap, it works! Solution with removing |
Yes. We will improve the documentation regarding this. Glad we could help. |
Hi there! Recently I had to enable postgis extension and it's time to push my changes to Atlas Cloud and apply changes to my cloud database, but it's failed with error message
I tried to use different params but nothing helped me. So here is my current configuration
My
atlas.hcl
config is followingAnd migration directory looks in following way:
This configuration works well locally and in CI when I run my integration tests where I use action
ariga/atlas-action/migrate/apply@v1
. I have no idea what to try next, cuz I even don't know in what place this error appears exactly, cuz I tried to drop postgis extension in dev database defined inatlas.hcl
and drop extension defined directly in CI postgres. Could you please point me out where I'm wrong?P.S. I tried to follow recommendation suggested here #2578 but so far it doesn't work to me
The text was updated successfully, but these errors were encountered: