Skip to content

Not recording JSONB defaults in 2.7.1 (but worked in 2.6.10) #387

@nneal

Description

@nneal

We upgrade from 2.6.10 to 2.7.1 and are experiencing the following problem, across many different tables where we have JSONB fields

old annotation (v 2.6.10)

#  data_fields       :jsonb            default({}), not null

new annotation (v 2.7.1)

#  data_fields       :jsonb            not null

the corresponding line in schema.rb

t.jsonb    "data_fields",       default: {}, null: false 

Another problem is, for some reason, one single controller spec is now being annotated, though other controllers aren't:

spec/controllers/invite_codes_controller_spec.rb gets annotated but the rest of our controller specs are left around. and we have 'exclude_tests' => "true", set in the rake setting file ... which we had before and worked fine in previous version

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions