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

chore: set the collectionref path as nullable #860

Merged
merged 1 commit into from
Jan 11, 2023
Merged

chore: set the collectionref path as nullable #860

merged 1 commit into from
Jan 11, 2023

Conversation

alvin-reyes
Copy link
Contributor

There are existing records in our DB that has path that are set to null and when gorm initializes the CollectionRefs, it throws a panic which prevents the API node from starting.

This is a quick fix to set the path column as nullable.

Copy link
Contributor

@10d9e 10d9e left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alvin-reyes alvin-reyes merged commit 1ca72e2 into dev Jan 11, 2023
@alvin-reyes alvin-reyes deleted the ref-null branch February 27, 2023 15:08
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

Successfully merging this pull request may close these issues.

None yet

2 participants