upd: install
update migration commands to use entities instead of migration scripts
This commit is contained in:
@@ -7,10 +7,10 @@ shell_exec("COMPOSE_ALLOW_SUPERUSER=1 composer update");
|
||||
//`symfony console asset-map:compile");
|
||||
|
||||
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;
|
||||
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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user