Skip to content

Default value for JSON datatype breaks annotation #320

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

Closed
xn opened this issue Jan 15, 2016 · 2 comments
Closed

Default value for JSON datatype breaks annotation #320

xn opened this issue Jan 15, 2016 · 2 comments
Assignees
Labels
Milestone

Comments

@xn
Copy link

xn commented Jan 15, 2016

I was using version 2.6.something. Upgraded to 2.7.0 and still have a problem.

# == Schema Information
#
# Table name: users
#
#  id                     :integer          not null, primary key
#  profile              :json             default({"first_name"=>nil,
 "last_name"=>nil,
 "phone"=>nil,
 "terms_of_service"=>nil,
 "street"=>nil,
 "suite"=>nil,
 "city"=>nil,
 "state"=>nil,
 "zip"=>nil}
)
@ctran
Copy link
Owner

ctran commented Jan 16, 2016

I see, we're only handling jsonb type.

@ctran ctran added the feature label Jan 16, 2016
@ctran ctran added this to the v2.7.1 milestone Jan 16, 2016
@ctran ctran self-assigned this Jan 16, 2016
@ctran ctran closed this as completed Jan 16, 2016
@xn
Copy link
Author

xn commented Jan 16, 2016

Just got this, awesome. thanks.

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

No branches or pull requests

2 participants