Skip to content

Topic responsibles can be null if database was created before astronomy migration #435

@migerh

Description

@migerh

The responsibles field for topics is optional with a default value of []. With simple-schema the responsibles were stored as null if none were given. Astronomy stores them as [] if none are given.

Now code my pop up that expects responsibles to be not null but always be an array. To fix this we migrate the database so all topics have at least an empty array of responsibles.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions