mirror of
https://github.com/getsentry/self-hosted.git
synced 2026-02-01 16:32:44 +00:00
16 lines
383 B
Bash
16 lines
383 B
Bash
echo "${_group}Setting up / migrating database ..."
|
|
|
|
if [[ -n "${CI:-}" || "${SKIP_USER_CREATION:-0}" == 1 ]]; then
|
|
$dcr web upgrade --noinput
|
|
echo ""
|
|
echo "Did not prompt for user creation. Run the following command to create one"
|
|
echo "yourself (recommended):"
|
|
echo ""
|
|
echo " $dc_base run --rm web createuser"
|
|
echo ""
|
|
else
|
|
$dcr web upgrade
|
|
fi
|
|
|
|
echo "${_endgroup}"
|