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 migration schema init (trim whitespace) #886

Merged
merged 1 commit into from
Oct 8, 2023

Conversation

spwoodcock
Copy link
Member

  • I merged the migration script PR without testing thoroughly enough.
  • psql sometimes returns additional whitespace from it's queries, so the check if tables/schema existed, prior to applying the schema didn't work correctly.
  • This PR adds a trim to the database check for the projects table, correctly identifying that data already exists.

@spwoodcock spwoodcock added the devops Related to deployment or configuration label Oct 8, 2023
@spwoodcock spwoodcock self-assigned this Oct 8, 2023
@spwoodcock spwoodcock temporarily deployed to test October 8, 2023 16:13 — with GitHub Actions Inactive
@spwoodcock spwoodcock merged commit 1e2bd7b into development Oct 8, 2023
2 checks passed
@spwoodcock spwoodcock deleted the fix/migration-schema-init branch October 8, 2023 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops Related to deployment or configuration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant