Merge pull request 'fix: Ensure data directory exists and has proper permissions before prisma db push' (#14) from develop into main
All checks were successful
Personal/recall/pipeline/head This commit looks good

Reviewed-on: #14
This commit was merged in pull request #14.
This commit is contained in:
2026-03-24 14:46:41 +00:00

View File

@@ -4,8 +4,9 @@ set -e
# Initialize database if it doesn't exist or schema changed
echo "Checking database..."
# Create directories with proper permissions
# Create data directory and set proper permissions
mkdir -p /app/data
chmod 755 /app/data
# Use local prisma version from node_modules
./node_modules/prisma/build/index.js db push