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 JSON column type #612

Closed
gazsp opened this issue Sep 22, 2018 · 2 comments
Closed

Postgres JSON column type #612

gazsp opened this issue Sep 22, 2018 · 2 comments

Comments

@gazsp
Copy link

gazsp commented Sep 22, 2018

Any idea how to define a PG JSON column type in a model / migration?

@hibachrach
Copy link
Contributor

I don't believe there's built-in support for JSON or JSONB columns just yet.

@jwoertink
Copy link
Member

You can do this now. luckyframework/avram#108

table :users do
  column preferences : JSON::Any
end

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