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

Draft
wants to merge 9 commits into
base: next
Choose a base branch
from

Conversation

peaklabs-dev
Copy link
Member

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

Blocked until new magic is implemented

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

TODO:

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
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.

1 participant