Skip to content

Commit

Permalink
Remove DB_FIRST_INSTALL environment variable
Browse files Browse the repository at this point in the history
This was used for only setting default configuration on
first installation, but irrelevant since 77932de.
  • Loading branch information
eldering committed Nov 25, 2024
1 parent 38f4b0c commit 91309d9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions sql/dj_setup_database.in
Original file line number Diff line number Diff line change
Expand Up @@ -320,9 +320,7 @@ install-examples)
install-loadtest)
read_dbpasswords
create_db_users
export DB_FIRST_INSTALL=1
symfony_console doctrine:migrations:migrate -n
unset DB_FIRST_INSTALL
DBUSER=$domjudge_DBUSER PASSWD=$domjudge_PASSWD symfony_console domjudge:load-default-data
DBUSER=$domjudge_DBUSER PASSWD=$domjudge_PASSWD symfony_console domjudge:load-gatling-data
;;
Expand All @@ -339,9 +337,7 @@ update-password)
bare-install|install)
read_dbpasswords
create_db_users
export DB_FIRST_INSTALL=1
symfony_console doctrine:migrations:migrate -n
unset DB_FIRST_INSTALL
DBUSER=$domjudge_DBUSER PASSWD=$domjudge_PASSWD symfony_console domjudge:load-default-data
if [ "$1" = "install" ]; then
install_examples
Expand Down

0 comments on commit 91309d9

Please sign in to comment.