migration to mysql
Some checks failed
PHPUnit / test (push) Has been cancelled

This commit is contained in:
2026-07-10 09:57:44 +02:00
parent 351af170a0
commit 810ed24792
24 changed files with 986 additions and 208 deletions

12
.env.example Normal file
View File

@ -0,0 +1,12 @@
# Database driver: mysql or sqlite (tests use sqlite)
QDB_DRIVER=mysql
# MySQL connection (required when QDB_DRIVER=mysql)
QDB_MYSQL_HOST=127.0.0.1
QDB_MYSQL_PORT=3306
QDB_MYSQL_DATABASE=nat-as-db
QDB_MYSQL_USER=nat_as_db
QDB_MYSQL_PASSWORD=change-me
# AES key for legacy SQLite file encryption and app payload crypto (32 bytes, base64)
QDB_MASTER_KEY=