Skip to content
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

*postgres.UserDefinedType on Postgres #254

Closed
crossworth opened this issue Nov 27, 2021 · 3 comments
Closed

*postgres.UserDefinedType on Postgres #254

crossworth opened this issue Nov 27, 2021 · 3 comments

Comments

@crossworth
Copy link
Contributor

Hello, first, I know this project is in the early stages, but I think is great, I see a lot of potential on it, great work.

While trying the atlas schema inspect command on a few databases I faced the problem about *postgres.ArrayType, but using the master version I was able to run fine, but now I think I have a problem with hstore.

The error output is:
Error: failed converting schema to spec: failed to convert column type *postgres.UserDefinedType to spec

Listing the types I got only stuff about hstore.

image

Is there a way (or plan) to allow custom types (like hstore, Postgis)?

@a8m
Copy link
Member

a8m commented Nov 28, 2021

Hey @crossworth and thanks for reporting this issue 👋

We're looking at this. I'll update soon.

@yonidavidson
Copy link
Contributor

Hi @crossworth, please check our latest release https://github.com/ariga/atlas/releases/tag/v0.1.1 that includes support for custom types.

@crossworth
Copy link
Contributor Author

Hello @yonidavidson, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants