We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65779a7 commit c18da05Copy full SHA for c18da05
install/set-up-and-migrate-database.sh
@@ -9,6 +9,12 @@ until $dc exec postgres psql -U postgres -c "select 1" >/dev/null 2>&1 || [ $RET
9
sleep 1
10
done
11
12
+os=$($dc exec postgres cat /etc/os-release | grep 'ID=debian')
13
+if [[ -z $os ]]; then
14
+ echo "Postgres image debian check failed, exiting..."
15
+ exit 1
16
+fi
17
+
18
# Using django ORM to provide broader support for users with external databases
19
$dcr web shell -c "
20
from django.db import connection
0 commit comments