Skip to content
Snippets Groups Projects
Commit 78bb6a61 authored by Bob Mottram's avatar Bob Mottram
Browse files

Migrate database

parent 8dcf997e
No related branches found
No related tags found
No related merge requests found
......@@ -93,6 +93,9 @@ function akaunting_generate_env {
echo 'MAIL_PASSWORD=null';
echo 'MAIL_ENCRYPTION=null'; } > "/var/www/${AKAUNTING_DOMAIN_NAME}/htdocs/.env"
chown www-data:www-data "/var/www/${AKAUNTING_DOMAIN_NAME}/htdocs/.env"
cd "/var/www/${AKAUNTING_DOMAIN_NAME}/htdocs" || exit 28
php artisan migrate:refresh --force
}
function akaunting_update_email {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment