upd: install

update migration commands to use entities instead of migration scripts
This commit is contained in:
2026-03-27 15:48:07 -04:00
parent 9f9ee82c6b
commit 0e97468f7d

View File

@@ -7,10 +7,10 @@ shell_exec("COMPOSE_ALLOW_SUPERUSER=1 composer update");
//`symfony console asset-map:compile"); //`symfony console asset-map:compile");
print "Creating database schema".PHP_EOL; print "Creating database schema".PHP_EOL;
shell_exec("symfony console doctrine:database:create"); shell_exec("symfony console doctrine:database:create --if-not-exists");
print "Updating migrations and setting permissions for data folder".PHP_EOL; print "Updating migrations and setting permissions for data folder".PHP_EOL;
shell_exec("symfony console doctrine:migrations:migrate --no-interaction"); shell_exec("symfony console doctrine:schema:create");
shell_exec("chown -R www-data:www-data /data"); shell_exec("chown -R www-data:www-data /data");