Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Migrate to SQLite so we can download a full test database later.
James Colefeb171171d31
diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.ymlindex 79db6a2fd2..a04b941015 100644--- a/.github/workflows/sonarcloud.yml+++ b/.github/workflows/sonarcloud.yml@@ -7,32 +7,12 @@ on:- main- developenv:- DB_CONNECTION: mysql- DB_HOST: "127.0.0.1"- DB_DATABASE: firefly- DB_USER: firefly- DB_PASSWORD: secret_firefly_password+ DB_CONNECTION: sqlitejobs:sonarcloud:name: SonarCloudruns-on: ubuntu-latest- services:- mariadb:- image: mariadb:latest- ports:- - 3306:3306- env:- MYSQL_ROOT_PASSWORD: yes- MYSQL_USER: ${{ env.DB_USER }}- MYSQL_PASSWORD: ${{ env.DB_PASSWORD }}- MYSQL_DATABASE: ${{ env.DB_DATABASE }}- options: >-- --health-cmd="healthcheck.sh --connect --innodb_initialized"- --health-interval=10s- --health-timeout=5s- --health-retries=3-steps:- name: Checkoutuses: actions/checkout@v3@@ -51,7 +31,7 @@ jobs:iconvintljson- mysql+ sqlite3mbstringopensslpdo@@ -65,20 +45,12 @@ jobs:- name: Install Composer dependenciesrun: composer install --prefer-dist --no-interaction --no-progress --no-scripts- - name: Verify Database connection- env:- PORT: ${{ job.services.mariadb.ports[3306] }}- run: |- while ! mysqladmin ping -h"${{env.DB_HOST}}" -P"${PORT}" --silent; do- sleep 1- done-- - name: Copy environment file- run: sed 's@DB_HOST=.*@DB_HOST=${{env.DB_HOST}}@g' .env.example > .env-- name: Generate app keyrun: php artisan key:generate+ - name: "Create database file"+ run: touch storage/database/database.sqlite+- name: "Create the database"run: php artisan firefly-iii:create-database