Fix route registration by moving main block to end of file
Co-authored-by: aiulian25 <17886483+aiulian25@users.noreply.github.com>
This commit is contained in:
parent
8a5b916a39
commit
0eb54dfd30
2 changed files with 9 additions and 5 deletions
|
|
@ -14,6 +14,10 @@ echo "Initializing database..."
|
|||
cd /app/backend
|
||||
python init_db.py
|
||||
|
||||
# Run migrations
|
||||
echo "Running database migrations..."
|
||||
python migrate_attachments.py
|
||||
|
||||
# Set database file permissions
|
||||
if [ -f /app/data/masina_dock.db ]; then
|
||||
chmod 666 /app/data/masina_dock.db
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue