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

Fix test data empty array and NULL value inserts #99

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

erikdubbelboer
Copy link
Member

@erikdubbelboer erikdubbelboer commented Jun 16, 2024

Inserting [] into postgress will give an error that it doesn't know the type of the array. Since we're always inserting arrays of strings here we can specify the type here.

Also converts null to insert NULL instead of the string 'NULL'.

These are currently no in use, and because of that changes to the tests aren't needed. But I want to introduce tests with these in the Lobby Leader pull, and want to keep that pull simple and small.

@erikdubbelboer erikdubbelboer merged commit 7f8e82c into main Jun 18, 2024
1 check passed
@erikdubbelboer erikdubbelboer deleted the empty-array-insert branch June 18, 2024 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants