Skip to content

Default value for JSON datatype breaks annotation #320

Closed
@xn

Description

@xn

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}
)

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions