Compare commits
2 Commits
ef8c4bafe6
...
786dc4c825
| Author | SHA1 | Date | |
|---|---|---|---|
| 786dc4c825 | |||
| d5a6d0bfd7 |
@@ -4,8 +4,9 @@ set -e
|
|||||||
# Initialize database if it doesn't exist or schema changed
|
# Initialize database if it doesn't exist or schema changed
|
||||||
echo "Checking database..."
|
echo "Checking database..."
|
||||||
|
|
||||||
# Create directories with proper permissions
|
# Create data directory and set proper permissions
|
||||||
mkdir -p /app/data
|
mkdir -p /app/data
|
||||||
|
chmod 755 /app/data
|
||||||
|
|
||||||
# Use local prisma version from node_modules
|
# Use local prisma version from node_modules
|
||||||
./node_modules/prisma/build/index.js db push
|
./node_modules/prisma/build/index.js db push
|
||||||
|
|||||||
Reference in New Issue
Block a user