blob: fe91345901142aedac0fd985ca39d404efd8d1a4 (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/ash -e
# If running the rails server then create or migrate existing database
if [ "${1}" == "./bin/rails" ] && [ "${2}" == "server" ]; then
./bin/rails db:prepare
fi
exec "${@}"
|