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: Multiple Init script fixes and some other Postgres fixes #3950

Merged
merged 12 commits into from
Dec 18, 2024

Conversation

peaklabs-dev
Copy link
Member

@peaklabs-dev peaklabs-dev commented Oct 18, 2024

Changes

  • Fix: When having multiple Postgres init scripts, saving a change to one init script would delete all other init scripts.
  • Fix: Changing the file name of an existing init script would create a new init script instead of renaming the file.
  • Fix: Some index issue with the json in the DB when updating init scripts.
  • Fix: When deleting an init script, the array has formatting problems as it is not reindexed.
  • Fix: Deleting an init script does not remove it form the server.
  • Fix: When renaming an init script, the old init script (old name) is still on the server, which can lead to conflicts -> Now the init script is loaded fresh from the Coolify database on each deploy (folder is emptied first)
  • Fix: When renaming an init script the old script is now deleted from the server
  • Fix: Remove custom-postgres.conf if input is empty or null as the file is not needed on the server anymore

Issues

@peaklabs-dev peaklabs-dev added the 🏔️ Peaklabs A label for PRs from Peaklabs. label Oct 18, 2024
@peaklabs-dev peaklabs-dev changed the title Fix: Saving a change to a Postgres init script deletes all other init scripts. Fix: Saving a change to a Postgres init script deletes all other init scripts Oct 18, 2024
@peaklabs-dev peaklabs-dev changed the title Fix: Saving a change to a Postgres init script deletes all other init scripts Fix: Multiple Init script issues Oct 18, 2024
@peaklabs-dev peaklabs-dev changed the title Fix: Multiple Init script issues Fix: Multiple Init script fixes and some other Postgres fixes Oct 18, 2024
@peaklabs-dev peaklabs-dev removed the 🏔️ Peaklabs A label for PRs from Peaklabs. label Oct 23, 2024
@peaklabs-dev peaklabs-dev marked this pull request as ready for review December 16, 2024 11:41
@peaklabs-dev peaklabs-dev added the 🏔️ Peaklabs A label for PRs from Peaklabs. label Dec 16, 2024
@andrasbacsai
Copy link
Member

Thank you for the PR!

@andrasbacsai andrasbacsai merged commit 7bc8365 into coollabsio:next Dec 18, 2024
1 check passed
@github-actions github-actions bot removed the 🏔️ Peaklabs A label for PRs from Peaklabs. label Dec 18, 2024
@peaklabs-dev peaklabs-dev deleted the fix-postgres-init-scripts branch December 18, 2024 13:36
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants