Christopher 10776aef31 🚀 feat: Add database migrations to startup (#75)
* 🚀 feat: Add database migrations to startup

Add database migrations execution to the panel startup
process. This ensures the database schema is properly
initialized before the application starts. The migration
runs with the --force flag to allow non-interactive
execution in containerized environments.

* 🔧 fix: Add error handling for database migrations

Add error handling to the database migration step to detect
and abort if migrations fail. This prevents the panel from
starting in an inconsistent state when database changes
encounter errors.

* fix: 🐛 Remove interactive terminal flag from docker exec

Remove the `-t` flag from docker exec commands in the startup
script. The `-t` flag allocates a pseudo-terminal which is
unnecessary for non-interactive command execution and can cause
issues in automated environments. Keep the `-i` flag for stdin
input handling.

* 🛡️ fix: add error handling to startup scripts

Add error checking to key generation and cache
optimization commands. Exit with status code 1 if
either command fails, preventing silent failures
during panel startup.
2026-03-22 01:00:58 -05:00
2025-11-17 08:47:14 -08:00
2023-08-14 21:39:57 -05:00
2023-10-27 11:00:31 -05:00

BigBearScripts

YouTube Link: https://www.youtube.com/@bigbeartechworld

BigBearCommunity

If you have a suggestion for a video, post in the BigBearCommunity.

Support My Work

ko-fi

Description
No description provided
Readme MIT 1 MiB
Languages
Shell 99.2%
JavaScript 0.8%